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