This object has methods for getting and setting the object name and object value.Table 17-2 shows the default mapping of Java classes to XML data types.Due to the construction of the Java platform the JAXB API used is the one defined by the platform.
This enhances the functionality and interoperability of the Web.
This document has been produced by the W3C XML Schema Working Group as part of the W3C XML Activity.
These basic examples show how to generate Java code from JAXB using the jaxb2-maven-plugin, and highlight the use of some of the plugin’s common configuration options.
This plugin runs the XJC binding compiler from the JAXB distribution, and integrates XJC’s configuration properties into a Maven project.
Table 17-1 lists the mapping of XML data types to Java data types in JAXB.
Table 17-1 JAXB Mapping of XML Schema Built-in Data Types object is provided.
Your JAX-RS application can use the JAXB objects to manipulate XML data.
JAXB objects can be used as request entity parameters and response entities.
Java Architecture for XML Binding (JAXB) is an XML-to-Java binding technology that simplifies the development of web services by enabling transformations between schema and Java objects and between XML instance documents and Java object instances.
An XML schema defines the data elements and structure of an XML document.
This section describes the default XML-to-Java bindings used by JAXB.