Re: [Simple-support] Cant convert java.util.arrayList?!!?!
Brought to you by:
niallg
|
From: meghiddo <mat...@ho...> - 2009-06-14 21:53:57
|
meghiddo wrote: > > I was so close to finally having this working. WHen i ran my methods I > got this though: > > org.simpleframework.xml.transform.TransformException: Transform of class > [Ljava.util.ArrayList; not supported > > and my xml file came out only partly finished: > > <measurementProjectCollection> > <measurementProject> > <projectId>wsnPondMeasurements</projectId> > <name>WSN Pond Measurements</name> > > It cut off everything after that which was: > > <permissions class="java.util.ArrayList" /> > <devices class="java.util.ArrayList" /> > <channels class="java.util.ArrayList" /> > </measurementProject> > <measurementProject> > <projectId>exampleProject1</projectId> > <name>exampleProject1</name> > <permissions class="java.util.ArrayList" /> > <devices class="java.util.ArrayList" /> > <channels class="java.util.ArrayList" /> > </measurementProject> > </measurementProjectCollection> > > So apparently it does not want to put the permissions, devices, or > channels tags into xml form. > > Please tell me there is a way around this, my project is so close to > working, I just need to get that xml converted to an xml file! > nothing at all? It seems like a pretty straightforward question, is it possible to use "ArrayList[] devices;" to in the xml output? -- View this message in context: http://www.nabble.com/Cant-convert-java.util.arrayList-%21%21-%21-tp23933276p24026131.html Sent from the Simple XML Serialization mailing list archive at Nabble.com. |