Uses of Package
javax.xml.bind
Packages that use javax.xml.bind
Package
Description
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
Defines annotations for customizing Java program elements to XML Schema mapping.
Jakarta XML Binding Provider Use Only: Provides partial default implementations for
some of the
javax.xml.bind
interfaces.Useful client utility classes.
-
Classes in javax.xml.bind used by javax.xml.bindClassDescriptionEnable synchronization between XML infoset nodes and JAXB objects representing same XML document.The DatatypeConverterInterface is for JAXB provider use only.To improve the performance, we'll cache the last
JAXBContext
used.TheJAXBContext
class provides the client's entry point to the JAXB API.JAXB representation of an Xml Element.This is the root exception class for all JAXB exceptions.Provide access to JAXB xml binding data for a JAXB object.This class is for JAXB permissions.TheMarshaller
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 aMarshaller
to externally listen for marshal events.This exception indicates that an error was encountered while getting or setting a property.Controls where a JAXB implementation puts the generates schema files.TheUnmarshaller
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 withUnmarshaller
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.Deprecated.since JAXB 2.0 -
Classes in javax.xml.bind used by javax.xml.bind.annotation
-
Classes in javax.xml.bind used by javax.xml.bind.helpersClassDescriptionJAXB representation of an Xml Element.This is the root exception class for all JAXB exceptions.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 aMarshaller
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.This exception indicates that an error has occurred while performing an unmarshal operation that prevents the JAXB Provider from completing the operation.TheUnmarshaller
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 withUnmarshaller
to externally listen for unmarshal events.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. -
Classes in javax.xml.bind used by javax.xml.bind.utilClassDescriptionThe
JAXBContext
class provides the client's entry point to the JAXB API.This is the root exception class for all JAXB exceptions.TheMarshaller
class is responsible for governing the process of serializing Java content trees back into XML data.TheUnmarshaller
class governs the process of deserializing XML data into newly created Java content trees, optionally validating the XML data as it is unmarshalled.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.