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.
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: com.sun.identity.wsfederation.jaxb.wspolicy
|
Modifier and Type | Method and Description |
---|---|
AllElement |
createAllElement()
Create an instance of AllElement
|
AppliesToElement |
createAppliesToElement()
Create an instance of AppliesToElement
|
AppliesToType |
createAppliesToType()
Create an instance of AppliesToType
|
ExactlyOneElement |
createExactlyOneElement()
Create an instance of ExactlyOneElement
|
OperatorContentType |
createOperatorContentType()
Create an instance of OperatorContentType
|
PolicyAttachmentElement |
createPolicyAttachmentElement()
Create an instance of PolicyAttachmentElement
|
PolicyAttachmentType |
createPolicyAttachmentType()
Create an instance of PolicyAttachmentType
|
PolicyElement |
createPolicyElement()
Create an instance of PolicyElement
|
PolicyReferenceElement |
createPolicyReferenceElement()
Create an instance of PolicyReferenceElement
|
PolicyReferenceType |
createPolicyReferenceType()
Create an instance of PolicyReferenceType
|
PolicyType |
createPolicyType()
Create an instance of PolicyType
|
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 static final Class version
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 PolicyAttachmentElement createPolicyAttachmentElement() throws JAXBException
JAXBException
- if an error occurspublic OperatorContentType createOperatorContentType() throws JAXBException
JAXBException
- if an error occurspublic AllElement createAllElement() throws JAXBException
JAXBException
- if an error occurspublic PolicyAttachmentType createPolicyAttachmentType() throws JAXBException
JAXBException
- if an error occurspublic AppliesToType createAppliesToType() throws JAXBException
JAXBException
- if an error occurspublic PolicyType createPolicyType() throws JAXBException
JAXBException
- if an error occurspublic AppliesToElement createAppliesToElement() throws JAXBException
JAXBException
- if an error occurspublic ExactlyOneElement createExactlyOneElement() throws JAXBException
JAXBException
- if an error occurspublic PolicyElement createPolicyElement() throws JAXBException
JAXBException
- if an error occurspublic PolicyReferenceElement createPolicyReferenceElement() throws JAXBException
JAXBException
- if an error occurspublic PolicyReferenceType createPolicyReferenceType() throws JAXBException
JAXBException
- if an error occursCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.