public class ObjectFactory extends DefaultJAXBContextImpl
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.
Type | Property and Description |
---|---|
Property |
create
Create an instance of Property
|
Modifier and Type | Field and Description |
---|---|
static GrammarInfo |
grammarInfo |
static Class |
version |
JAXB_CONTEXT_FACTORY
Constructor and Description |
---|
ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.jdtaus.mojo.resource.model
|
Modifier and Type | Method and Description |
---|---|
Argument |
createArgument()
Create an instance of Argument
|
ArgumentElement |
createArgumentElement()
Create an instance of ArgumentElement
|
Arguments |
createArguments()
Create an instance of Arguments
|
ArgumentsElement |
createArgumentsElement()
Create an instance of ArgumentsElement
|
Dependencies |
createDependencies()
Create an instance of Dependencies
|
DependenciesElement |
createDependenciesElement()
Create an instance of DependenciesElement
|
Dependency |
createDependency()
Create an instance of Dependency
|
DependencyElement |
createDependencyElement()
Create an instance of DependencyElement
|
DocumentationElement |
createDocumentationElement()
Create an instance of DocumentationElement
|
Implementation |
createImplementation()
Create an instance of Implementation
|
ImplementationElement |
createImplementationElement()
Create an instance of ImplementationElement
|
ImplementationReference |
createImplementationReference()
Create an instance of ImplementationReference
|
Implementations |
createImplementations()
Create an instance of Implementations
|
ImplementationsElement |
createImplementationsElement()
Create an instance of ImplementationsElement
|
Message |
createMessage()
Create an instance of Message
|
MessageElement |
createMessageElement()
Create an instance of MessageElement
|
MessageReference |
createMessageReference()
Create an instance of MessageReference
|
Messages |
createMessages()
Create an instance of Messages
|
MessagesElement |
createMessagesElement()
Create an instance of MessagesElement
|
ModelObject |
createModelObject()
Create an instance of ModelObject
|
Module |
createModule()
Create an instance of Module
|
ModuleElement |
createModuleElement()
Create an instance of ModuleElement
|
Modules |
createModules()
Create an instance of Modules
|
ModulesElement |
createModulesElement()
Create an instance of ModulesElement
|
Properties |
createProperties()
Create an instance of Properties
|
PropertiesElement |
createPropertiesElement()
Create an instance of PropertiesElement
|
Property |
createProperty()
Create an instance of Property
|
PropertyElement |
createPropertyElement()
Create an instance of PropertyElement
|
Specification |
createSpecification()
Create an instance of Specification
|
SpecificationElement |
createSpecificationElement()
Create an instance of SpecificationElement
|
SpecificationReference |
createSpecificationReference()
Create an instance of SpecificationReference
|
Specifications |
createSpecifications()
Create an instance of Specifications
|
SpecificationsElement |
createSpecificationsElement()
Create an instance of SpecificationsElement
|
TemplateElement |
createTemplateElement()
Create an instance of TemplateElement
|
Text |
createText()
Create an instance of Text
|
TextElement |
createTextElement()
Create an instance of TextElement
|
Texts |
createTexts()
Create an instance of Texts
|
TextsElement |
createTextsElement()
Create an instance of TextsElement
|
Object |
getProperty(String name)
Get the specified property.
|
Object |
newInstance(Class javaContentInterface)
Create an instance of the specified Java content interface.
|
void |
setProperty(String name,
Object value)
Set the specified property.
|
createMarshaller, createUnmarshaller, createValidator, getGrammar, getGrammarInfo
createBinder, createBinder, createJAXBIntrospector, generateSchema, newInstance, newInstance, newInstance, newInstance, newInstance
public static final GrammarInfo grammarInfo
public ObjectFactory()
public Object newInstance(Class javaContentInterface) throws JAXBException
newInstance
in class DefaultJAXBContextImpl
javaContentInterface
- the Class object of the javacontent interface to instantiateJAXBException
- if an error occurspublic Object getProperty(String name) throws PropertyException
getProperty
in class DefaultJAXBContextImpl
name
- the name of the property to retrievePropertyException
- when there is an error retrieving the given property or valuepublic void setProperty(String name, Object value) throws PropertyException
setProperty
in class DefaultJAXBContextImpl
name
- the name of the property to retrievevalue
- the value of the property to be setPropertyException
- when there is an error processing the given property or valuepublic MessagesElement createMessagesElement() throws JAXBException
JAXBException
- if an error occurspublic Specifications createSpecifications() throws JAXBException
JAXBException
- if an error occurspublic Properties createProperties() throws JAXBException
JAXBException
- if an error occurspublic ModulesElement createModulesElement() throws JAXBException
JAXBException
- if an error occurspublic SpecificationElement createSpecificationElement() throws JAXBException
JAXBException
- if an error occurspublic PropertyElement createPropertyElement() throws JAXBException
JAXBException
- if an error occurspublic Messages createMessages() throws JAXBException
JAXBException
- if an error occurspublic ImplementationElement createImplementationElement() throws JAXBException
JAXBException
- if an error occurspublic Implementation createImplementation() throws JAXBException
JAXBException
- if an error occurspublic ArgumentsElement createArgumentsElement() throws JAXBException
JAXBException
- if an error occurspublic Property createProperty() throws JAXBException
JAXBException
- if an error occurspublic ModelObject createModelObject() throws JAXBException
JAXBException
- if an error occurspublic Texts createTexts() throws JAXBException
JAXBException
- if an error occurspublic DependenciesElement createDependenciesElement() throws JAXBException
JAXBException
- if an error occurspublic ImplementationReference createImplementationReference() throws JAXBException
JAXBException
- if an error occurspublic Specification createSpecification() throws JAXBException
JAXBException
- if an error occurspublic ImplementationsElement createImplementationsElement() throws JAXBException
JAXBException
- if an error occurspublic Modules createModules() throws JAXBException
JAXBException
- if an error occurspublic TextElement createTextElement() throws JAXBException
JAXBException
- if an error occurspublic Text createText() throws JAXBException
JAXBException
- if an error occurspublic Argument createArgument() throws JAXBException
JAXBException
- if an error occurspublic Arguments createArguments() throws JAXBException
JAXBException
- if an error occurspublic Implementations createImplementations() throws JAXBException
JAXBException
- if an error occurspublic ModuleElement createModuleElement() throws JAXBException
JAXBException
- if an error occurspublic SpecificationReference createSpecificationReference() throws JAXBException
JAXBException
- if an error occurspublic TemplateElement createTemplateElement() throws JAXBException
JAXBException
- if an error occurspublic MessageElement createMessageElement() throws JAXBException
JAXBException
- if an error occurspublic DependencyElement createDependencyElement() throws JAXBException
JAXBException
- if an error occurspublic Module createModule() throws JAXBException
JAXBException
- if an error occurspublic Dependencies createDependencies() throws JAXBException
JAXBException
- if an error occurspublic Dependency createDependency() throws JAXBException
JAXBException
- if an error occurspublic SpecificationsElement createSpecificationsElement() throws JAXBException
JAXBException
- if an error occurspublic ArgumentElement createArgumentElement() throws JAXBException
JAXBException
- if an error occurspublic DocumentationElement createDocumentationElement() throws JAXBException
JAXBException
- if an error occurspublic MessageReference createMessageReference() throws JAXBException
JAXBException
- if an error occurspublic Message createMessage() throws JAXBException
JAXBException
- if an error occurspublic TextsElement createTextsElement() throws JAXBException
JAXBException
- if an error occurspublic PropertiesElement createPropertiesElement() throws JAXBException
JAXBException
- if an error occursCopyright © 2005-2012 jDTAUS. All Rights Reserved.