| java.lang.Object javax.xml.bind.JAXBContext com.mvnforum.jaxb.db.impl.runtime.DefaultJAXBContextImpl
All known Subclasses: com.mvnforum.jaxb.db.ObjectFactory,
DefaultJAXBContextImpl | public class DefaultJAXBContextImpl extends JAXBContext (Code) | | 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.
version: $Revision: 1.3 $ |
DefaultJAXBContextImpl | public DefaultJAXBContextImpl(String contextPath, ClassLoader classLoader) throws JAXBException(Code) | | This is the constructor used by javax.xml.bind.FactoryFinder which
bootstraps the RI. It causes the construction of a JAXBContext that
contains a GrammarInfoFacade which is the union of all the generated
JAXBContextImpl objects on the contextPath.
|
DefaultJAXBContextImpl | public DefaultJAXBContextImpl(GrammarInfo gi)(Code) | | This constructor is used by the default no-arg constructor in the
generated JAXBContextImpl objects. It is also used by the
bootstrapping constructor in this class.
|
createMarshaller | public Marshaller createMarshaller() throws JAXBException(Code) | | Create a Marshaller object that can be used to convert a
java content-tree into XML data.
a Marshaller object throws: JAXBException - if an error was encountered while creating theMarshaller object |
createUnmarshaller | public Unmarshaller createUnmarshaller() throws JAXBException(Code) | | Create an Unmarshaller object that can be used to convert XML
data into a java content-tree.
an Unmarshaller object throws: JAXBException - if an error was encountered while creating theUnmarshaller object |
createValidator | public Validator createValidator() throws JAXBException(Code) | | Create a Validator object that can be used to validate a
java content-tree.
an Unmarshaller object throws: JAXBException - if an error was encountered while creating theValidator object |
getGrammar | public synchronized com.sun.msv.grammar.Grammar getGrammar() throws JAXBException(Code) | | Loads a grammar object for the unmarshal-time validation.
getGrammar is normally very expensive, so it's worth
synchronizing to avoid unnecessary invocation.
|
getProperty | public Object getProperty(String name) throws PropertyException(Code) | | There are no required properties, so simply throw an exception. Other
providers may have support for properties on Validator, but the RI doesn't
|
newInstance | public Object newInstance(Class javaContentInterface) throws JAXBException(Code) | | Create an instance of the specified Java content interface.
Parameters: javaContentInterface - the Class object an instance of the Java content interface exception: JAXBException - |
setProperty | public void setProperty(String name, Object value) throws PropertyException(Code) | | There are no required properties, so simply throw an exception. Other
providers may have support for properties on Validator, but the RI doesn't
|
Fields inherited from javax.xml.bind.JAXBContext | final public static String JAXB_CONTEXT_FACTORY(Code)(Java Doc)
|
|
|