2.4 JAXB-defined Packages and Their Functionality

JAXB provides the packages for using the functions. The following table gives an overview of APIs that are included in the packages defined in JAXB.

Table 2-3 Overview of APIs included in the packages defined in JAXB

PackageAn overview of APIs included in the packages
javax.xml.bindAPIs for runtime binding frameworks, such as Marshal and Unmarshal.
javax.xml.bind.annotationAPIs for customizing the mapping from a Java class to a schema document.
javax.xml.bind.annotation.adaptersAPIs for the adapter class used when any Java class is used in JAXB.
javax.xml.bind.attachmentAPIs for performing Marshal and Unmarshal of the MIME-format binary data.
javax.xml.bind.utilAPIs for the utilities of JAXB.

For details on the packages, see the Javadoc of JSR 222 The Java Architecture for XML Binding 2.2.