EMF List xml serrialization separator [message #896717] |
Thu, 19 July 2012 09:24  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.08273 seconds