JAXB List Tag creating inner class

前端 未结 5 1144
无人及你
无人及你 2020-12-16 17:29

So we have an XSD type in the form:


    
        
            

        
5条回答
  •  旧巷少年郎
    2020-12-16 17:36

    Another way would be to drop the surrounding element, the XML does not look so nice anymore, but it would make the java code easier to read. Together with xjc's simple binding (see http://jaxb.java.net/nonav/jaxb20-fcs/docs/vendorCustomizations.html) it will produce quite pretty and usefull java code.

提交回复
热议问题