Jörg Schaible resolved New Feature XSTR-85 as Won't Fix

This is already quite easily possible, by registering an own converter instance for the collection and an own instance of the ClassAliasingMapper:

ClassAliasingMapper mapper = new ClassAliasingMapper(xstream.getMapper());
xstream.registerConverter(new CollectionConverter(mapper));
mapper.addClassAlias("user", "String.class");

The converter might have been registered locally instead to avoid a global redefinition for all collection types.

Change By: Jörg Schaible (19/Jan/13 7:44 AM)
Resolution: Won't Fix
Fix Version/s: Upcoming
Assignee: Jörg Schaible
Status: Open Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to