Marshalling and Unmarshalling Complex XML Schema using JAXB
Ashik's Tech Vlog
0:00 / 0:00
Marshalling and Unmarshalling Complex XML Schema using JAXB
9 439 просмотров · 4 г. назад
Ashik's Tech Vlog
1,55 тыс. подписчиков
9 439 просмотров · 4 г. назад
Basic information:
------------------------------
The Java™ Architecture for XML Binding (JAXB) provides an API and tools that automate the mapping between XML documents and Java objects (POJOS).
The JAXB framework enables developers to perform the following operations:
Unmarshal XML content into a Java representation
Access and update the Java representation
Marshal the Java representation of the XML content into XML content
in JDK9 and JDK10 JAXB became deprecated.
Since JDK 11 it was removed.
https://javaee.github.io/jaxb-v2/
https://javaee.github.io/jaxb-v2/doc/...
Annotations:
----------------------
@XmlRootElement
@XmlElement
@XmlAnyElement
@XmlAttribute
@XmlTransient
@XmlSchemaType
@XmlSchemaTypes
@XmlAccessorOrder
@XmlAccessorOrder
Complete reference:
---------------------------------
https://docs.oracle.com/javaee/6/api/...