Marshalling and Unmarshalling Complex XML Schema using JAXB

preview_player
Показать описание
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.

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

Complete reference:
---------------------------------
Рекомендации по теме
Комментарии
Автор

Thank you very much, I looked at many tutorials and pages, and you were the only one who could give me the solution

gsfspika
Автор

How to merge multiple xmls into one xml having same root element?

rajithasandiri
welcome to shbcf.ru