|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.bind.JAXBContext
com.sun.xml.bind.DefaultJAXBContextImpl
xml.config.ObjectFactory
This object contains factory methods for each Java content interface and Java element interface generated in the xml.config package.
An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.
Field Summary |
Fields inherited from class javax.xml.bind.JAXBContext |
JAXB_CONTEXT_FACTORY |
Constructor Summary | |
ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: xml.config |
Method Summary | |
Config |
createConfig()
Create an instance of Config |
ConfigType |
createConfigType()
Create an instance of ConfigType |
ConfigType.DatabaseType |
createConfigTypeDatabaseType()
Create an instance of ConfigTypeDatabaseType |
java.lang.Object |
getProperty(java.lang.String name)
Get the specified property. |
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)
Set the specified property. |
Methods inherited from class com.sun.xml.bind.DefaultJAXBContextImpl |
createMarshaller, createUnmarshaller, createValidator, getGrammar |
Methods inherited from class javax.xml.bind.JAXBContext |
newInstance, newInstance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectFactory()
Method Detail |
public java.lang.Object newInstance(java.lang.Class javaContentInterface) throws javax.xml.bind.JAXBException
javaContentInterface
- the Class object of the javacontent interface to instantiate
JAXBException
- if an error occurspublic java.lang.Object getProperty(java.lang.String name) throws javax.xml.bind.PropertyException
name
- the name of the property to retrieve
PropertyException
- when there is an error retrieving the given property or valuepublic void setProperty(java.lang.String name, java.lang.Object value) throws javax.xml.bind.PropertyException
name
- the name of the property to retrievevalue
- the value of the property to be set
PropertyException
- when there is an error processing the given property or valuepublic Config createConfig() throws javax.xml.bind.JAXBException
JAXBException
- if an error occurspublic ConfigType.DatabaseType createConfigTypeDatabaseType() throws javax.xml.bind.JAXBException
JAXBException
- if an error occurspublic ConfigType createConfigType() throws javax.xml.bind.JAXBException
JAXBException
- if an error occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |