Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package javax.xml.bind

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

See:
Description

Interface Summary
DatatypeConverterInterface | The DatatypeConverterInterface is for JAXB provider use only.
Element | This is an element marker interface.
Marshaller | The `Marshaller` class is responsible for governing the process of serializing Java content trees back into XML data.
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.
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.
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

Class Summary
Binder<XmlNode> | Enable synchronization between XML infoset nodes and JAXB objects representing same XML document.
DatatypeConverter | The javaType binding declaration can be used to customize the binding of an XML schema datatype to a Java datatype.
JAXB | Class that defines convenience methods for common, simple use of JAXB.
JAXBContext | The `JAXBContext` class provides the client's entry point to the JAXB API.
JAXBElement<T> | JAXB representation of an Xml Element.
JAXBElement.GlobalScope | Designates global scope for an xml element.
JAXBIntrospector | Provide access to JAXB xml binding data for a JAXB object.
Marshaller.Listener | Register an instance of an implementation of this class with a `Marshaller` to externally listen for marshal events.
SchemaOutputResolver | Controls where a JAXB implementation puts the generates schema files.
Unmarshaller.Listener | Register an instance of an implementation of this class with `Unmarshaller` to externally listen for unmarshal events.

Exception Summary
DataBindingException | Exception that represents a failure in a JAXB operation.
JAXBException | This is the root exception class for all JAXB exceptions.
MarshalException | This exception indicates that an error has occurred while performing a marshal operation that the provider is unable to recover from.
PropertyException | This exception indicates that an error was encountered while getting or setting a property.
TypeConstraintException | This exception indicates that a violation of a dynamically checked type constraint was detected.
UnmarshalException | This exception indicates that an error has occurred while performing an unmarshal operation that prevents the JAXB Provider from completing the operation.
ValidationException | This exception indicates that an error has occurred while performing a validate operation.

## Package javax.xml.bind Description

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.

## Package Specification

- JAXB Specification

## Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:

- The JAXB Website

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.