public class DefaultJAXBContextImpl extends JAXBContext
| Modifier and Type | Field and Description |
|---|---|
static String |
JAXB_RI_BUILD_ID
Deprecated.
property name used to store the build id
|
JAXB_CONTEXT_FACTORY| Constructor and Description |
|---|
DefaultJAXBContextImpl(GrammarInfo gi)
Deprecated.
This constructor is used by the default no-arg constructor in the
generated JAXBContextImpl objects.
|
DefaultJAXBContextImpl(String contextPath,
ClassLoader classLoader)
Deprecated.
This is the constructor used by javax.xml.bind.FactoryFinder which
bootstraps the RI.
|
| Modifier and Type | Method and Description |
|---|---|
Marshaller |
createMarshaller()
Deprecated.
Create a
Marshaller object that can be used to convert a
java content-tree into XML data. |
Unmarshaller |
createUnmarshaller()
Deprecated.
Create an
Unmarshaller object that can be used to convert XML
data into a java content-tree. |
Validator |
createValidator()
Deprecated.
Create a
Validator object that can be used to validate a
java content-tree. |
com.sun.msv.grammar.Grammar |
getGrammar()
Deprecated.
|
GrammarInfo |
getGrammarInfo()
Deprecated.
|
Object |
getProperty(String name)
Deprecated.
There are no required properties, so simply throw an exception.
|
Object |
newInstance(Class javaContentInterface)
Deprecated.
Create an instance of the specified Java content interface.
|
void |
setProperty(String name,
Object value)
Deprecated.
There are no required properties, so simply throw an exception.
|
createBinder, createBinder, createJAXBIntrospector, generateSchema, newInstance, newInstance, newInstance, newInstance, newInstancepublic static final String JAXB_RI_BUILD_ID
public DefaultJAXBContextImpl(String contextPath, ClassLoader classLoader) throws JAXBException
JAXBExceptionpublic DefaultJAXBContextImpl(GrammarInfo gi)
public GrammarInfo getGrammarInfo()
public com.sun.msv.grammar.Grammar getGrammar()
throws JAXBException
JAXBExceptionpublic Marshaller createMarshaller() throws JAXBException
Marshaller object that can be used to convert a
java content-tree into XML data.createMarshaller in class JAXBContextMarshaller objectJAXBException - if an error was encountered while creating the
Marshaller objectpublic Unmarshaller createUnmarshaller() throws JAXBException
Unmarshaller object that can be used to convert XML
data into a java content-tree.createUnmarshaller in class JAXBContextUnmarshaller objectJAXBException - if an error was encountered while creating the
Unmarshaller objectpublic Validator createValidator() throws JAXBException
Validator object that can be used to validate a
java content-tree.createValidator in class JAXBContextUnmarshaller objectJAXBException - if an error was encountered while creating the
Validator objectpublic Object newInstance(Class javaContentInterface) throws JAXBException
javaContentInterface - the Class objectJAXBExceptionpublic void setProperty(String name, Object value) throws PropertyException
PropertyExceptionpublic Object getProperty(String name) throws PropertyException
PropertyExceptionCopyright © 2015 Oracle Corporation. All Rights Reserved.