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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -