Top Description Interfaces Classes
[default module]

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

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:
See Also
Jakarta XML Binding Website

Interface Summary

Modifier and TypeInterface and Description
public interface
DatatypeConverterInterface

The DatatypeConverterInterface is for Jakarta XML Binding provider use only.

public interface
Element

This is an element marker interface.

public interface
JAXBContextFactory

Factory that creates new JAXBContext instances.

public interface
Marshaller

The Marshaller class is responsible for governing the process of serializing Java content trees back into XML data.

public interface
NotIdentifiableEvent

This event indicates that a problem was encountered resolving an ID/IDREF.

public interface
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.

public interface
PrintConversionEvent

This event indicates that a problem was encountered while converting data from the Java content tree into its lexical representation.

public interface
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.

public interface
UnmarshallerHandler

Unmarshaller implemented as SAX ContentHandler.

public interface
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.

public interface
ValidationEventHandler

A basic event handler interface for validation errors.

public interface
ValidationEventLocator

Encapsulate the location of a ValidationEvent.

Class Summary

Modifier and TypeClass and Description
public abstract class
Binder<
the template parameter, XmlNode, is the root interface/class for the XML infoset preserving representation. A Binder implementation is required to minimally support an XmlNode value of org.w3c.dom.Node.class. A Binder implementation can support alternative XML infoset preserving representations.
XmlNode
>

Enable synchronization between XML infoset nodes and Jakarta XML Binding objects representing same XML document.

pack-priv class
ContextFinder

This class is package private and therefore is not exposed as part of the Jakarta XML Binding API.

public class
DataBindingException

Exception that represents a failure in a Jakarta XML Binding operation.

public class
DatatypeConverter

The javaType binding declaration can be used to customize the binding of an XML schema datatype to a Java datatype.

pack-priv class
DatatypeConverterImpl

This class is the Jakarta XML Binding CI's default implementation of the DatatypeConverterInterface.

pack-priv class
GetPropertyAction

PrivilegedAction that gets the system property value.

public class
JAXB

Class that defines convenience methods for common, simple use of Jakarta XML Binding.

public abstract class
JAXBContext

The JAXBContext class provides the client's entry point to the Jakarta XML Binding API.

public class
JAXBElement<T>

Jakarta XML Binding representation of an Xml Element.

public class
JAXBException

This is the root exception class for all Jakarta XML Binding exceptions.

public abstract class
JAXBIntrospector

Provide access to Jakarta XML Binding xml binding data for a Jakarta XML Binding object.

public class
JAXBPermission

This class is for Jakarta XML Binding permissions.

public class
MarshalException

This exception indicates that an error has occurred while performing a marshal operation that the provider is unable to recover from.

pack-priv class
Messages

Formats error messages.

pack-priv class
ModuleUtil

Propagates openness of Jakarta XML Binding annotated classes packages to Jakarta XML Binding impl module.

public class
PropertyException

This exception indicates that an error was encountered while getting or setting a property.

public abstract class
SchemaOutputResolver

Controls where a Jakarta XML Binding implementation puts the generates schema files.

pack-priv class
ServiceLoaderUtil

Shared ServiceLoader/FactoryFinder Utils shared among Jakarta SOAP with Attachments, Jakarta XML Binding and Jakarta XML Web Services.

public class
TypeConstraintException

This exception indicates that a violation of a dynamically checked type constraint was detected.

public class
UnmarshalException

This exception indicates that an error has occurred while performing an unmarshal operation that prevents the Jakarta XML Binding Provider from completing the operation.

public class
ValidationException

This exception indicates that an error has occurred while performing a validate operation.

pack-priv abstract class
WhiteSpaceProcessor

Processes white space normalization.