Marshalling and Unmarshalling Complex XML Schema using JAXB

Marshalling and Unmarshalling Complex XML Schema using JAXB

Ashik's Tech Vlog

3 года назад

8,626 Просмотров

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/user-guide/ch02.html

Annotations:
----------------------
@XmlRootElement
@XmlElement
@XmlAnyElement
@XmlAttribute
@XmlTransient
@XmlSchemaType
@XmlSchemaTypes
@XmlAccessorOrder
@XmlAccessorOrder

Complete reference:
---------------------------------
https://docs.oracle.com/javaee/6/api/javax/xml/bind/annotation/package-summary.html

Тэги:

#jaxb_tutorial #jaxbcontext #java #jaxb_tutorial_-_xml_binding_for_java_using_eclipse #jaxb #namespace #java_for_beginners #jaxb_tutorial_for_beginners #java_namespace #marshalling_and_unmarshalling_in_java
Ссылки и html тэги не поддерживаются


Комментарии: