Skip to main content



      Home
Home » Modeling » EMF » EMF List xml serrialization separator
EMF List xml serrialization separator [message #896717] Thu, 19 July 2012 09:24 Go to next message
Eclipse UserFriend
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 10:07 Go to previous message
Eclipse UserFriend
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?
Previous Topic:[xcore] problem referencing UML classes?
Next Topic:Create Report
Goto Forum:
  


Current Time: Sat Aug 30 16:20:09 EDT 2025

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

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

Back to the top