Package jakarta.xml.bind


package jakarta.xml.bind
Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.

JAXBContext is the client-entry point to the runtime binding framework.

References in this document to JAXB refer to the Jakarta XML Binding unless otherwise noted.

Package Specification

For overviews, tutorials, examples, guides, and tool documentation, please see:
See Also:
  • Class
    Description
    Binder<XmlNode>
    Enable synchronization between XML infoset nodes and Jakarta XML Binding objects representing same XML document.
    Exception that represents a failure in a Jakarta XML Binding operation.
    The javaType binding declaration can be used to customize the binding of an XML schema datatype to a Java datatype.
    The DatatypeConverterInterface is for Jakarta XML Binding provider use only.
    This is an element marker interface.
    Class that defines convenience methods for common, simple use of Jakarta XML Binding.
    The JAXBContext class provides the client's entry point to the Jakarta XML Binding API.
    Factory that creates new JAXBContext instances.
    Jakarta XML Binding representation of an Xml Element.
    Designates global scope for an xml element.
    This is the root exception class for all Jakarta XML Binding exceptions.
    Provide access to Jakarta XML Binding xml binding data for a Jakarta XML Binding object.
    This class is for Jakarta XML Binding permissions.
    This exception indicates that an error has occurred while performing a marshal operation that the provider is unable to recover from.
    The Marshaller class is responsible for governing the process of serializing Java content trees back into XML data.
    Register an instance of an implementation of this class with a Marshaller to externally listen for marshal events.
    This event indicates that a problem was encountered resolving an ID/IDREF.
    This event indicates that a problem was encountered while converting a string from the XML data into a value of the target Java data type.
    This event indicates that a problem was encountered while converting data from the Java content tree into its lexical representation.
    This exception indicates that an error was encountered while getting or setting a property.
    Controls where a Jakarta XML Binding implementation puts the generates schema files.
    This exception indicates that a violation of a dynamically checked type constraint was detected.
    This exception indicates that an error has occurred while performing an unmarshal operation that prevents the Jakarta XML Binding Provider from completing the operation.
    The Unmarshaller class governs the process of deserializing XML data into newly created Java content trees, optionally validating the XML data as it is unmarshalled.
    Register an instance of an implementation of this class with Unmarshaller to externally listen for unmarshal events.
    Unmarshaller implemented as SAX ContentHandler.
    This event indicates that a problem was encountered while validating the incoming XML data during an unmarshal operation, while performing on-demand validation of the Java content tree, or while marshalling the Java content tree back to XML data.
    A basic event handler interface for validation errors.
    Encapsulate the location of a ValidationEvent.
    This exception indicates that an error has occurred while performing a validate operation.