Annotation | Description |
---|---|
@XmlRootElement(namespace = "namespace") | Define the root element for an XML tree |
@XmlType(propOrder = { "field2", "field1",.. }) | Allows to define the order in which the fields are written in the XML file |
@XmlElement(name = "neuName") | Define the XML element which will be used. Only need to be used if the neuNeu is different then the JavaBeans Name |
Labels: JAXB