Package | Description |
---|---|
javax.xml.bind |
Provides a runtime binding framework for client applications including
unmarshalling, marshalling, and validation capabilities.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
MarshalException
This exception indicates that an error has occurred while performing
a marshal operation that the provider is unable to recover from.
|
class |
PropertyException
This exception indicates that an error was encountered while getting or
setting a property.
|
class |
UnmarshalException
This exception indicates that an error has occurred while performing
an unmarshal operation that prevents the JAXB Provider from completing
the operation.
|
class |
ValidationException
This exception indicates that an error has occurred while performing
a validate operation.
|
Modifier and Type | Method and Description |
---|---|
abstract Marshaller |
JAXBContext.createMarshaller()
Create a Marshaller object that can be used to convert a
java content tree into XML data.
|
abstract Unmarshaller |
JAXBContext.createUnmarshaller()
Create an Unmarshaller object that can be used to convert XML
data into a java content tree.
|
abstract Validator |
JAXBContext.createValidator()
Deprecated.
since JAXB2.0
|
|