Re: [Simple-support] Question regarding maps
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2008-04-12 16:35:59
|
Hi, Thanks for the feedback, glad you like the framework. Yes, the construct you mentioned can be done with an org.simpleframework.xml.util.Dictionary also, although this is a List that has a "get" method to retrieve objects by key. Regards, Niall --- Timo Rumland <cr...@ol...> wrote: > Hello, > > > Hello, > > I have a question regarding the serialization of > maps. Let's assume > > we have the following two Classes: > > .. > > I think I found a solution for that. I now use a > persister callback > (@Commit, @Persist and @Complete) to transform my > map data into a > normal ArrayList and back for the serialization > process. That way, I > can achieve the XML structure I wanted to. > > This XML framework is amazing, it is definitely in > my top 5 of Java > frameworks of all times :) > > > Best regards, > Timo > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 > JavaOne(SM) Conference > Don't miss this year's exciting event. There's still > time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |