java - JAXB wrap wrapped collections -


i have class contain 2 lists. want generate wrapper element around list elements, , around 2 list.

class someclass {     private list<typea> lista;    private list<typeb> listb;  }  <some-class>     <lists>         <list-a>             <element-from-list-a />             <element-from-list-a />             <element-from-list-a />             ...         </list-a>          <list-b>             <element-from-list-b />             <element-from-list-b />             <element-from-list-b />             ...         </list-b>     </lists> </some-class> 

i can generate wrapper around list xml-element-wrapper can't wrap 2 list 1 element.

is possible in jaxb and/or in moxy implementation?

after asked question solved problem moxy's xml-path extension, i'm still interested in standard jaxb solution problem.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -