private static java.lang.String |
ContextFinder.classNameFromSystemProperties() |
|
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.
|
static void |
ModuleUtil.delegateAddOpensToImplModule(java.lang.Class<?>[] classes,
java.lang.Class<?> factorySPI) |
Implementation may be defined in other module than jakarta.xml.bind .
|
(package private) static JAXBContext |
ContextFinder.find(java.lang.Class<?>[] classes,
java.util.Map<java.lang.String,?> properties) |
|
(package private) static JAXBContext |
ContextFinder.find(java.lang.String factoryId,
java.lang.String contextPath,
java.lang.ClassLoader classLoader,
java.util.Map<java.lang.String,?> properties) |
|
(package private) static java.lang.Class<?> |
ModuleUtil.findFirstByJaxbIndex(java.lang.String pkg,
java.lang.ClassLoader classLoader) |
Find first class in package by jaxb.index file.
|
(package private) static java.lang.Class<?>[] |
ModuleUtil.getClassesFromContextPath(java.lang.String contextPath,
java.lang.ClassLoader classLoader) |
Resolves classes from context path.
|
private static <T> JAXBContext |
JAXB.getContext(java.lang.Class<T> type) |
Obtains the JAXBContext from the given type,
by using the cache if possible.
|
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.
|
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.
|
private static java.lang.Throwable |
ContextFinder.handleInvocationTargetException(java.lang.reflect.InvocationTargetException x) |
If the InvocationTargetException wraps an exception that shouldn't be wrapped,
throw the wrapped exception.
|
private static java.lang.Object |
ContextFinder.instantiateProviderIfNecessary(java.lang.Class<?> implClass) |
|
abstract void |
Binder.marshal(java.lang.Object jaxbObject,
XmlNode xmlNode) |
Marshal a Jakarta XML Binding 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.
|
(package private) static JAXBContext |
ContextFinder.newInstance(java.lang.Class<?>[] classes,
java.util.Map<java.lang.String,?> properties,
java.lang.Class<?> spFactory) |
|
private static JAXBContext |
ContextFinder.newInstance(java.lang.Class<?>[] classes,
java.util.Map<java.lang.String,?> properties,
java.lang.String className) |
Create an instance of a class using the thread context ClassLoader
|
private static JAXBContext |
ContextFinder.newInstance(java.lang.Class<?>[] classes,
java.util.Map<java.lang.String,?> properties,
java.lang.String className,
java.lang.ClassLoader loader) |
Create an instance of a class using passed in ClassLoader
|
(package private) static JAXBContext |
ContextFinder.newInstance(java.lang.String contextPath,
java.lang.Class<?>[] contextPathClasses,
java.lang.Class<?> spFactory,
java.lang.ClassLoader classLoader,
java.util.Map<java.lang.String,?> properties) |
|
(package private) static JAXBContext |
ContextFinder.newInstance(java.lang.String contextPath,
java.lang.Class<?>[] contextPathClasses,
java.lang.String className,
java.lang.ClassLoader classLoader,
java.util.Map<java.lang.String,?> properties) |
Create an instance of a class using the specified ClassLoader
|
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 .
|
abstract java.lang.Object |
Binder.unmarshal(XmlNode xmlNode) |
Unmarshal XML infoset view to a Jakarta XML Binding object tree.
|
abstract <T> JAXBElement<T> |
Binder.unmarshal(XmlNode xmlNode,
java.lang.Class<T> declaredType) |
Unmarshal XML root element by provided declaredType
to a Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding 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 Jakarta XML Binding object and its descendants.
|
abstract XmlNode |
Binder.updateXML(java.lang.Object jaxbObject) |
Takes an Jakarta XML Binding object and updates
its associated XML node and its descendants.
|
abstract XmlNode |
Binder.updateXML(java.lang.Object jaxbObject,
XmlNode xmlNode) |
Changes in Jakarta XML Binding object tree are updated in its associated XML parse tree.
|