|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectJAXBContext
com.admc.jamama.dtd.impl.runtime.DefaultJAXBContextImpl
This class provides the default implementation of JAXBContext. It also creates the GrammarInfoFacade that unifies all of the grammar info from packages on the contextPath.
| Constructor Summary | |
DefaultJAXBContextImpl(GrammarInfo gi)
This constructor is used by the default no-arg constructor in the generated JAXBContextImpl objects. |
|
DefaultJAXBContextImpl(java.lang.String contextPath,
java.lang.ClassLoader classLoader)
This is the constructor used by javax.xml.bind.FactoryFinder which bootstraps the RI. |
|
| Method Summary | |
Marshaller |
createMarshaller()
Create a Marshaller object that can be used to convert a
java content-tree into XML data. |
Unmarshaller |
createUnmarshaller()
Create an Unmarshaller object that can be used to convert XML
data into a java content-tree. |
Validator |
createValidator()
Create a Validator object that can be used to validate a
java content-tree. |
Grammar |
getGrammar()
Loads a grammar object for the unmarshal-time validation. |
GrammarInfo |
getGrammarInfo()
|
java.lang.Object |
getProperty(java.lang.String name)
There are no required properties, so simply throw an exception. |
java.lang.Object |
newInstance(java.lang.Class javaContentInterface)
Create an instance of the specified Java content interface. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
There are no required properties, so simply throw an exception. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultJAXBContextImpl(java.lang.String contextPath,
java.lang.ClassLoader classLoader)
throws JAXBException
public DefaultJAXBContextImpl(GrammarInfo gi)
| Method Detail |
public GrammarInfo getGrammarInfo()
public Grammar getGrammar()
throws JAXBException
JAXBException
public Marshaller createMarshaller()
throws JAXBException
Marshaller object that can be used to convert a
java content-tree into XML data.
Marshaller object
JAXBException - if an error was encountered while creating the
Marshaller object
public Unmarshaller createUnmarshaller()
throws JAXBException
Unmarshaller object that can be used to convert XML
data into a java content-tree.
Unmarshaller object
JAXBException - if an error was encountered while creating the
Unmarshaller object
public Validator createValidator()
throws JAXBException
Validator object that can be used to validate a
java content-tree.
Unmarshaller object
JAXBException - if an error was encountered while creating the
Validator object
public java.lang.Object newInstance(java.lang.Class javaContentInterface)
throws JAXBException
javaContentInterface - the Class object
JAXBException
public void setProperty(java.lang.String name,
java.lang.Object value)
throws PropertyException
PropertyException
public java.lang.Object getProperty(java.lang.String name)
throws PropertyException
PropertyException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||