Uses of Package javax.xml.bind (Java Platform SE 8 )
Date: 2026-07-22

# Uses of Package
javax.xml.bind

- Packages that use javax.xml.bind
  Package | Description
  --- | ---
  javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
  javax.xml.bind.annotation | Defines annotations for customizing Java program elements to XML Schema mapping.
  javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the `javax.xml.bind` interfaces.
  javax.xml.bind.util | Useful client utility classes.
  javax.xml.ws | This package contains the core JAX-WS APIs.
  javax.xml.ws.handler.soap | This package defines APIs for SOAP message handlers.
  javax.xml.ws.spi | This package defines SPIs for JAX-WS.

- Classes in javax.xml.bind used by javax.xml.bind
  Class and Description
  Binder Enable synchronization between XML infoset nodes and JAXB objects representing same XML document.
  DatatypeConverterInterface The DatatypeConverterInterface is for JAXB provider use only.
  JAXBContext The `JAXBContext` class provides the client's entry point to the JAXB API.
  JAXBElement JAXB representation of an Xml Element.
  JAXBException This is the root exception class for all JAXB exceptions.
  JAXBIntrospector Provide access to JAXB xml binding data for a JAXB object.
  Marshaller The `Marshaller` class is responsible for governing the process of serializing Java content trees back into XML data.
  Marshaller.Listener Register an instance of an implementation of this class with a `Marshaller` to externally listen for marshal events.
  PropertyException This exception indicates that an error was encountered while getting or setting a property.
  SchemaOutputResolver Controls where a JAXB implementation puts the generates schema files.
  Unmarshaller 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.
  Unmarshaller.Listener Register an instance of an implementation of this class with `Unmarshaller` to externally listen for unmarshal events.
  UnmarshallerHandler Unmarshaller implemented as SAX ContentHandler.
  ValidationEvent 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.
  ValidationEventHandler A basic event handler interface for validation errors.
  ValidationEventLocator Encapsulate the location of a ValidationEvent.
  Validator Deprecated. since JAXB 2.0

- Classes in javax.xml.bind used by javax.xml.bind.annotation
  Class and Description
  ValidationEventHandler A basic event handler interface for validation errors.

- Classes in javax.xml.bind used by javax.xml.bind.helpers
  Class and Description
  JAXBElement JAXB representation of an Xml Element.
  JAXBException This is the root exception class for all JAXB exceptions.
  Marshaller The `Marshaller` class is responsible for governing the process of serializing Java content trees back into XML data.
  Marshaller.Listener Register an instance of an implementation of this class with a `Marshaller` to externally listen for marshal events.
  NotIdentifiableEvent This event indicates that a problem was encountered resolving an ID/IDREF.
  ParseConversionEvent 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.
  PrintConversionEvent This event indicates that a problem was encountered while converting data from the Java content tree into its lexical representation.
  PropertyException This exception indicates that an error was encountered while getting or setting a property.
  UnmarshalException This exception indicates that an error has occurred while performing an unmarshal operation that prevents the JAXB Provider from completing the operation.
  Unmarshaller 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.
  Unmarshaller.Listener Register an instance of an implementation of this class with `Unmarshaller` to externally listen for unmarshal events.
  ValidationEvent 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.
  ValidationEventHandler A basic event handler interface for validation errors.
  ValidationEventLocator Encapsulate the location of a ValidationEvent.

- Classes in javax.xml.bind used by javax.xml.bind.util
  Class and Description
  JAXBContext The `JAXBContext` class provides the client's entry point to the JAXB API.
  JAXBException This is the root exception class for all JAXB exceptions.
  Marshaller The `Marshaller` class is responsible for governing the process of serializing Java content trees back into XML data.
  Unmarshaller 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.
  ValidationEvent 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.
  ValidationEventHandler A basic event handler interface for validation errors.

- Classes in javax.xml.bind used by javax.xml.ws
  Class and Description
  JAXBContext The `JAXBContext` class provides the client's entry point to the JAXB API.

- Classes in javax.xml.bind used by javax.xml.ws.handler.soap
  Class and Description
  JAXBContext The `JAXBContext` class provides the client's entry point to the JAXB API.

- Classes in javax.xml.bind used by javax.xml.ws.spi
  Class and Description
  JAXBContext The `JAXBContext` class provides the client's entry point to the JAXB API.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.