users@jaxb.java.net

Re: JAXB I realy need you help

From: Wolfgang Laun <wolfgang.laun_at_gmail.com>
Date: Thu, 21 Oct 2010 09:17:22 +0200

This has to be done with a JAXB plugin.
  http://www.conspicio.dk/blog/bjarne/jaxb-xmlelementwrapper-plugin
-W

On 20 October 2010 23:52, iv_va_unq <ihordey_at_gmail.com> wrote:
>
> JAXB  I realy need you help
> Dear friend
>
> We have  next structure of XML file
>
> <order>
>     <entities>
>        <entity>1</entity>
>        <entity>2</entity>
>        <entity>3</entity>
>     </entities>
> </order>
>
> according to xml we generate XSD
> after that use  xjc.exe   for generate JAXB Objects
>
> Class Order
>    Entities  entities
>
> Class Entities
>   List<Entity> entity
>
> but I would like to be like that
> Class Order
>    List<Entity> entity
>
> Class Entities make transient   or use JAXB Custome mapping  or other
> decision
> Thanks
> --
> View this message in context: http://old.nabble.com/JAXB--I-realy-need-you-help-tp30014420p30014420.html
> Sent from the java.net - jaxb users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
> For additional commands, e-mail: users-help_at_jaxb.dev.java.net
>
>