private static java.lang.String |
ContextFinder.classNameFromPackageProperties(java.net.URL packagePropertiesUrl,
java.lang.String... factoryIds) |
first factoryId should be the preferred one,
more of those can be provided to support backwards compatibility
|
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.
|
abstract Validator |
JAXBContext.createValidator() |
Deprecated.
|
(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 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.String |
ContextFinder.firstByServiceLoaderDeprecated(java.lang.Class spiClass,
java.lang.ClassLoader classLoader) |
Deprecated.
|
(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.
|
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.
|
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) |
|
boolean |
Unmarshaller.isValidating() |
Deprecated.
|
private static java.lang.String |
ContextFinder.jaxbProperties(java.lang.Class[] classesFromContextPath,
java.lang.String factoryId) |
|
private static java.lang.String |
ContextFinder.jaxbProperties(java.lang.String contextPath,
java.lang.ClassLoader classLoader,
java.lang.String factoryId) |
|
private static java.util.Properties |
ContextFinder.loadJAXBProperties(java.net.URL url) |
|
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.
|
(package private) static JAXBContext |
ContextFinder.newInstance(java.lang.Class[] classes,
java.util.Map properties,
java.lang.Class spFactory) |
|
(package private) static JAXBContext |
ContextFinder.newInstance(java.lang.Class[] classes,
java.util.Map properties,
java.lang.String className,
java.lang.ClassLoader loader) |
Create an instance of a class using the thread context 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 properties) |
|
(package private) static JAXBContext |
ContextFinder.newInstance(java.lang.String contextPath,
java.lang.Class[] contextPathClasses,
java.lang.String className,
java.lang.ClassLoader factoryClassloader,
java.lang.ClassLoader classLoader,
java.util.Map 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 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 .
|
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.
|