JAXBContext |
JAXBContextFactory.createContext(Class<?>[] classesToBeBound,
Map<String,?> properties) |
Create a new instance of a JAXBContext class.
|
JAXBContext |
JAXBContextFactory.createContext(String contextPath,
ClassLoader classLoader,
Map<String,?> properties) |
Create a new instance of a JAXBContext class.
|
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 ValidationEventHandler |
Binder.getEventHandler() |
Return the current event handler or the default event handler if one
hasn't been set.
|
ValidationEventHandler |
Marshaller.getEventHandler() |
Return the current event handler or the default event handler if one
hasn't been set.
|
ValidationEventHandler |
Unmarshaller.getEventHandler() |
Return the current event handler or the default event handler if one
hasn't been set.
|
Node |
Marshaller.getNode(Object contentTree) |
Get a DOM tree view of the content tree(Optional).
|
Object |
UnmarshallerHandler.getResult() |
Obtains the unmarshalled result.
|
abstract void |
Binder.marshal(Object jaxbObject,
XmlNode xmlNode) |
Marshal a Jakarta XML Binding object tree to a new XML document.
|
void |
Marshaller.marshal(Object jaxbElement,
File output) |
Marshal the content tree rooted at jaxbElement into a file.
|
void |
Marshaller.marshal(Object jaxbElement,
OutputStream os) |
Marshal the content tree rooted at jaxbElement into an output stream.
|
void |
Marshaller.marshal(Object jaxbElement,
Writer writer) |
Marshal the content tree rooted at jaxbElement into a Writer.
|
void |
Marshaller.marshal(Object jaxbElement,
XMLEventWriter writer) |
|
void |
Marshaller.marshal(Object jaxbElement,
XMLStreamWriter writer) |
|
void |
Marshaller.marshal(Object jaxbElement,
Result result) |
Marshal the content tree rooted at jaxbElement into the specified
javax.xml.transform.Result .
|
void |
Marshaller.marshal(Object jaxbElement,
Node node) |
Marshal the content tree rooted at jaxbElement into a DOM tree.
|
void |
Marshaller.marshal(Object jaxbElement,
ContentHandler handler) |
Marshal the content tree rooted at jaxbElement into SAX2 events.
|
static JAXBContext |
JAXBContext.newInstance(Class<?>... classesToBeBound) |
Create a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(Class<?>[] classesToBeBound,
Map<String,?> properties) |
Create a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(String contextPath) |
Create a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader) |
Create a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader,
Map<String,?> properties) |
Create a new instance of a JAXBContext class.
|
abstract void |
Binder.setEventHandler(ValidationEventHandler handler) |
Allow an application to register a ValidationEventHandler .
|
void |
Marshaller.setEventHandler(ValidationEventHandler handler) |
Allow an application to register a validation event handler.
|
void |
Unmarshaller.setEventHandler(ValidationEventHandler handler) |
Allow an application to register a ValidationEventHandler .
|
abstract Object |
Binder.unmarshal(XmlNode xmlNode) |
Unmarshal XML infoset view to a Jakarta XML Binding object tree.
|
abstract <T> JAXBElement<T> |
Binder.unmarshal(XmlNode xmlNode,
Class<T> declaredType) |
Unmarshal XML root element by provided declaredType
to a Jakarta XML Binding object tree.
|
Object |
Unmarshaller.unmarshal(File f) |
Unmarshal XML data from the specified file and return the resulting
content tree.
|
Object |
Unmarshaller.unmarshal(InputStream is) |
Unmarshal XML data from the specified InputStream and return the
resulting content tree.
|
Object |
Unmarshaller.unmarshal(Reader reader) |
Unmarshal XML data from the specified Reader and return the
resulting content tree.
|
Object |
Unmarshaller.unmarshal(URL url) |
Unmarshal XML data from the specified URL and return the resulting
content tree.
|
Object |
Unmarshaller.unmarshal(XMLEventReader reader) |
Unmarshal XML data from the specified pull parser and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(XMLEventReader reader,
Class<T> declaredType) |
Unmarshal root element to Jakarta XML Binding mapped declaredType
and return the resulting content tree.
|
Object |
Unmarshaller.unmarshal(XMLStreamReader reader) |
Unmarshal XML data from the specified pull parser and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(XMLStreamReader reader,
Class<T> declaredType) |
Unmarshal root element to Jakarta XML Binding mapped declaredType
and return the resulting content tree.
|
Object |
Unmarshaller.unmarshal(Source source) |
Unmarshal XML data from the specified XML Source and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(Source source,
Class<T> declaredType) |
Unmarshal XML data from the specified XML Source by declaredType and return the
resulting content tree.
|
Object |
Unmarshaller.unmarshal(Node node) |
Unmarshal global XML data from the specified DOM tree and return the resulting
content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(Node node,
Class<T> declaredType) |
Unmarshal XML data by Jakarta XML Binding mapped declaredType
and return the resulting content tree.
|
Object |
Unmarshaller.unmarshal(InputSource source) |
Unmarshal XML data from the specified SAX InputSource and return the
resulting content tree.
|
abstract Object |
Binder.updateJAXB(XmlNode xmlNode) |
Takes an XML node and updates its associated Jakarta XML Binding object and its descendants.
|
abstract XmlNode |
Binder.updateXML(Object jaxbObject) |
Takes an Jakarta XML Binding object and updates
its associated XML node and its descendants.
|
abstract XmlNode |
Binder.updateXML(Object jaxbObject,
XmlNode xmlNode) |
Changes in Jakarta XML Binding object tree are updated in its associated XML parse tree.
|