Re: [Simple-support] Nested array list
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2012-07-07 09:22:43
|
You would need to write a converter for this. Transforms are for transformations that do not contain any XML. --- On Tue, 3/7/12, Ramiro del Corro <ram...@gm...> wrote: From: Ramiro del Corro <ram...@gm...> Subject: [Simple-support] Nested array list To: sim...@li... Received: Tuesday, 3 July, 2012, 3:25 PM Hi folks I will need to serialize a nested arrayList like so: @ElementListprotected ArrayList<ArrayList<MyClass>> and I am getting TransformException: Transform of class java.util.ArrayList not supported Is there a way to implement this without having to wrap the ArrayList<MyClass> inside a class?My second approach was to try to use a Converter but as I need names for the attributes, I can not figure out how to do it. Thanks in advanceRamiro -----Inline Attachment Follows----- ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ -----Inline Attachment Follows----- _______________________________________________ Simple-support mailing list Sim...@li... https://lists.sourceforge.net/lists/listinfo/simple-support |