Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF List xml serrialization separator
EMF List xml serrialization separator [message #896717] Thu, 19 July 2012 13:24 Go to next message
Leonid Ripeynih is currently offline Leonid RipeynihFriend
Messages: 150
Registered: February 2012
Senior Member
Hey folks!

I have a model, with parameter: someStringList 0..* EString. It's serrializes nicely as a space-separated list. Is there a way to change the list-separator form space to, say, comma?
Re: EMF List xml serrialization separator [message #896732 is a reply to message #896717] Thu, 19 July 2012 14:07 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
No, not without specializing both XMLSaveImpl and XMLHandler. You might
define an EDataType that wraps java.lang.List<String> and then you can
define how that list value is converted to and from a literal
representing in the generated FactoryImpl.


On 19/07/2012 3:24 PM, Dark Diver wrote:
> Hey folks!
>
> I have a model, with parameter: someStringList 0..* EString. It's
> serrializes nicely as a space-separated list. Is there a way to change
> the list-separator form space to, say, comma?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[xcore] problem referencing UML classes?
Next Topic:Create Report
Goto Forum:
  


Current Time: Wed Apr 24 13:29:22 GMT 2024

Powered by FUDForum. Page generated in 0.04907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top