JAXB 2.2.10

see also http://docs.oracle.com/javaee/5/tutorial/doc/bnbbf.html see also https://jaxb.java.net/tutorial/index.html see also https://jaxb.java.net/guide/index.html – Unofficial JAXB Guide see also How to get simple and better typed binding in https://metro.java.net/guide/ch03.html globalBindings <jxb:globalBindings fixedAttributeAsConstantProperty=”false” collectionType=”java.util.Vector” typesafeEnumBase=”xsd:string” choiceContentProperty=”false” typesafeEnumMemberName=”generateError” enableFailFastCheck=”false” generateIsSetMethod=”false” underscoreBinding=”asCharInWord”/> fixedAttributeAsConstantProperty fixed attributes will be […]

XSD schema

<!– example –> <xs:simpleType> <xs:restriction base=”xs:string”> <xs:enumeration value=”Audi”/> <xs:enumeration value=”Golf”/> <xs:enumeration value=”BMW”/> </xs:restriction> </xs:simpleType> <!– example –> <xs:complexType name=”personinfo”> <xs:sequence> <xs:element name=”firstname” type=”xs:string”/> <xs:element name=”lastname” type=”xs:string”/> </xs:sequence> </xs:complexType> <xs:complexType name=”fullpersoninfo”> <xs:complexContent> <xs:extension base=”personinfo”> <xs:sequence> <xs:element name=”address” type=”xs:string”/> <xs:element name=”city” type=”xs:string”/> […]