It’s possible using:
@XmlType (propOrder={"prop1","prop2",..."propN"})
Just uncomment the code like this:
//@XmlType(propOrder={"company", "scheme", "agreementNumber"})
This is the correct usage.
More Related Contents:
- How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
- How to generate JAXB classes from XSD?
- jaxb unmarshal timestamp
- JAXB marshalling XMPP stanzas
- Generating a JAXB class that implements an interface
- Using JAXB to cross reference XmlIDs from two XML files
- java.lang.VerifyError: Expecting a stackmap frame at branch target JDK 1.7
- Which artifacts should I use for JAXB RI in my Maven project?
- JAXB: How should I marshal complex nested data structures?
- Is it possible to programmatically configure JAXB?
- A message body writer for Java class java.util.ArrayList…and MIME media type text/xml was not found
- @XmlPath has no impact during the JAXB Marshalling
- JAXB Exception: Class not known to this context
- How do you customize how JAXB generates plural method names?
- Can JAXB parse large XML files in chunks
- XML element with attribute and content using JAXB
- Can I force JAXB not to convert ” into ", for example, when marshalling to XML?
- How to make generated classes contain Javadoc from XML Schema documentation
- JAXB inheritance, unmarshal to subclass of marshaled class
- Java/JAXB: Unmarshall XML attributes to specific Java object attributes
- How generate XMLElementWrapper annotation with xjc and customized binding
- JAXB unmarshall with namespaces and prefix
- Using StAX to create index for XML for quick access
- How to query a web service via POST request in Android?
- Simple conversion between java.util.Date and XMLGregorianCalendar
- Why doesn’t JAXB generate setters for Lists
- Marshalling LocalDate using JAXB
- JAXB annotations for nested element lists
- How to marshall a string using JAXB that sometimes contains XML content and sometimes does not?
- How to generate JAXB classes from just XML