Re: [Simple-support] Changing default interpretation
Brought to you by:
niallg
|
From: Niall G. <gal...@ya...> - 2011-08-02 09:49:59
|
See the @Default annotation, there is some examples in the test cases. --- On Sun, 17/7/11, "Jan Leßner" <jle...@gm...> wrote: > From: "Jan Leßner" <jle...@gm...> > Subject: [Simple-support] Changing default interpretation > To: sim...@li... > Received: Sunday, 17 July, 2011, 8:24 AM > Hi everybody > We would like to use Simple to map XML structures from a > BPM tool to Java beans. The BPM tool passes all attributes > within XML elements, so I'd like to know if there is a way > to change Simple's defaults for mapping class members to > XML. The default is - of course - attribute rather than > element, so we had to annotate every single Java class > member with @Element. Is there a way to make this the > default? > > Regards, > Jan Lessner > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San > Francisco, CA > The must-attend event for mobile developers. Connect with > experts. > Get tools for creating Super Apps. See the latest > technologies. > Sessions, hands-on labs, demos & much more. Register > early & save! > http://p.sf.net/sfu/rim-blackberry-1 > _______________________________________________ > Simple-support mailing list > Sim...@li... > https://lists.sourceforge.net/lists/listinfo/simple-support > |