JAXBContext |
JAXBContextFactory.createContext(java.lang.Class<?>[] classesToBeBound,
java.util.Map<java.lang.String,?> properties) |
Create a new instance of a JAXBContext class.
|
JAXBContext |
JAXBContextFactory.createContext(java.lang.String contextPath,
java.lang.ClassLoader classLoader,
java.util.Map<java.lang.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 Validator |
JAXBContext.createValidator() |
Deprecated.
|
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.
|
ValidationEventHandler |
Validator.getEventHandler() |
Deprecated.
|
org.w3c.dom.Node |
Marshaller.getNode(java.lang.Object contentTree) |
Get a DOM tree view of the content tree(Optional).
|
java.lang.Object |
UnmarshallerHandler.getResult() |
Obtains the unmarshalled result.
|
boolean |
Unmarshaller.isValidating() |
Deprecated.
|
abstract void |
Binder.marshal(java.lang.Object jaxbObject,
XmlNode xmlNode) |
Marshal a JAXB object tree to a new XML document.
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
java.io.File output) |
Marshal the content tree rooted at jaxbElement into a file.
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
java.io.OutputStream os) |
Marshal the content tree rooted at jaxbElement into an output stream.
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
java.io.Writer writer) |
Marshal the content tree rooted at jaxbElement into a Writer.
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
javax.xml.stream.XMLEventWriter writer) |
Marshal the content tree rooted at jaxbElement into a
XMLEventWriter .
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
javax.xml.stream.XMLStreamWriter writer) |
Marshal the content tree rooted at jaxbElement into a
XMLStreamWriter .
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
javax.xml.transform.Result result) |
Marshal the content tree rooted at jaxbElement into the specified
javax.xml.transform.Result .
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
org.w3c.dom.Node node) |
Marshal the content tree rooted at jaxbElement into a DOM tree.
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
org.xml.sax.ContentHandler handler) |
Marshal the content tree rooted at jaxbElement into SAX2 events.
|
static JAXBContext |
JAXBContext.newInstance(java.lang.Class<?>... classesToBeBound) |
Create a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(java.lang.Class<?>[] classesToBeBound,
java.util.Map<java.lang.String,?> properties) |
Create a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(java.lang.String contextPath) |
Create a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(java.lang.String contextPath,
java.lang.ClassLoader classLoader) |
Create a new instance of a JAXBContext class.
|
static JAXBContext |
JAXBContext.newInstance(java.lang.String contextPath,
java.lang.ClassLoader classLoader,
java.util.Map<java.lang.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 .
|
void |
Validator.setEventHandler(ValidationEventHandler handler) |
Deprecated.
|
void |
Unmarshaller.setValidating(boolean validating) |
Deprecated.
|
abstract java.lang.Object |
Binder.unmarshal(XmlNode xmlNode) |
Unmarshal XML infoset view to a JAXB object tree.
|
abstract <T> JAXBElement<T> |
Binder.unmarshal(XmlNode xmlNode,
java.lang.Class<T> declaredType) |
Unmarshal XML root element by provided declaredType
to a JAXB object tree.
|
java.lang.Object |
Unmarshaller.unmarshal(java.io.File f) |
Unmarshal XML data from the specified file and return the resulting
content tree.
|
java.lang.Object |
Unmarshaller.unmarshal(java.io.InputStream is) |
Unmarshal XML data from the specified InputStream and return the
resulting content tree.
|
java.lang.Object |
Unmarshaller.unmarshal(java.io.Reader reader) |
Unmarshal XML data from the specified Reader and return the
resulting content tree.
|
java.lang.Object |
Unmarshaller.unmarshal(java.net.URL url) |
Unmarshal XML data from the specified URL and return the resulting
content tree.
|
java.lang.Object |
Unmarshaller.unmarshal(javax.xml.stream.XMLEventReader reader) |
Unmarshal XML data from the specified pull parser and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(javax.xml.stream.XMLEventReader reader,
java.lang.Class<T> declaredType) |
Unmarshal root element to JAXB mapped declaredType
and return the resulting content tree.
|
java.lang.Object |
Unmarshaller.unmarshal(javax.xml.stream.XMLStreamReader reader) |
Unmarshal XML data from the specified pull parser and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(javax.xml.stream.XMLStreamReader reader,
java.lang.Class<T> declaredType) |
Unmarshal root element to JAXB mapped declaredType
and return the resulting content tree.
|
java.lang.Object |
Unmarshaller.unmarshal(javax.xml.transform.Source source) |
Unmarshal XML data from the specified XML Source and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(javax.xml.transform.Source source,
java.lang.Class<T> declaredType) |
Unmarshal XML data from the specified XML Source by declaredType and return the
resulting content tree.
|
java.lang.Object |
Unmarshaller.unmarshal(org.w3c.dom.Node node) |
Unmarshal global XML data from the specified DOM tree and return the resulting
content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(org.w3c.dom.Node node,
java.lang.Class<T> declaredType) |
Unmarshal XML data by JAXB mapped declaredType
and return the resulting content tree.
|
java.lang.Object |
Unmarshaller.unmarshal(org.xml.sax.InputSource source) |
Unmarshal XML data from the specified SAX InputSource and return the
resulting content tree.
|
abstract java.lang.Object |
Binder.updateJAXB(XmlNode xmlNode) |
Takes an XML node and updates its associated JAXB object and its descendants.
|
abstract XmlNode |
Binder.updateXML(java.lang.Object jaxbObject) |
Takes an JAXB object and updates
its associated XML node and its descendants.
|
abstract XmlNode |
Binder.updateXML(java.lang.Object jaxbObject,
XmlNode xmlNode) |
Changes in JAXB object tree are updated in its associated XML parse tree.
|
boolean |
Validator.validate(java.lang.Object subrootObj) |
Deprecated.
|
boolean |
Validator.validateRoot(java.lang.Object rootObj) |
Deprecated.
|