java - unmarshel from XML of hiearchy object -


i have follow xml structure:

a   aaa      ccc      bbb      ccc      bbb   ddd      ccc      bbb      ccc 

how unmarshell such structure jaxb, possible?

this structure works fine

    @xmlrootelement     public class aaa {        @xmlelements({             @xmlelement(name = "bbb", type = abstractbc.bbb.class),             @xmlelement(name = "ccc", type = abstractbc.ccc.class)        })        public list<abstractbc> tables;     } 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -