Saturday, December 13, 2014

How to specify JAXB root element

With no metadata specified we need to supply JAXB with a root element name (and namespace).
http://blog.bdoughan.com/2010/10/how-does-jaxb-compare-to-xstream.html
@XmlRootElement
public class Customer {
...

No comments:

Post a Comment