Re: [Simple-support] Maven-stype maps
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-01-28 07:54:46
|
Hi, Its possible, but only if you write a custom Converter yourself. The standard @ElementMap annotation does not support this currently. Niall --- On Thu, 27/1/11, Aaron Digulla <di...@he...> wrote: > From: Aaron Digulla <di...@he...> > Subject: [Simple-support] Maven-stype maps > To: sim...@li... > Received: Thursday, 27 January, 2011, 7:42 PM > Hello, > > In Maven, you can create maps like so: > > <map> > <foo>value of > foo</foo> > <bar>value of > bar</bar> > </map> > > i.e. the element name is the key. Is such a mapping > possible with > Simple? Do you have an example? > > Regards, > > -- > Aaron "Optimizer" Digulla a.k.a. Philmann Dark > "It's not the universe that's limited, it's our > imagination. > Follow me and I'll show you something beyond the limits." > http://www.pdark.de/ > http://blog.pdark.de/ > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 > USD value)! > Finally, a world-class log management solution at an even > better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer > expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > |