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.saml2.jaxb.metadataextquery
|
Modifier and Type | Method and Description |
---|---|
ActionNamespaceElement |
createActionNamespaceElement()
Create an instance of ActionNamespaceElement
|
ActionNamespaceElement |
createActionNamespaceElement(String value)
Create an instance of ActionNamespaceElement
|
AttributeQueryDescriptorElement |
createAttributeQueryDescriptorElement()
Create an instance of AttributeQueryDescriptorElement
|
AttributeQueryDescriptorType |
createAttributeQueryDescriptorType()
Create an instance of AttributeQueryDescriptorType
|
AuthnQueryDescriptorType |
createAuthnQueryDescriptorType()
Create an instance of AuthnQueryDescriptorType
|
AuthzDecisionQueryDescriptorType |
createAuthzDecisionQueryDescriptorType()
Create an instance of AuthzDecisionQueryDescriptorType
|
QueryDescriptorType |
createQueryDescriptorType()
Create an instance of QueryDescriptorType
|
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 ActionNamespaceElement createActionNamespaceElement() throws JAXBException
JAXBException
- if an error occurspublic ActionNamespaceElement createActionNamespaceElement(String value) throws JAXBException
JAXBException
- if an error occurspublic AuthnQueryDescriptorType createAuthnQueryDescriptorType() throws JAXBException
JAXBException
- if an error occurspublic AttributeQueryDescriptorElement createAttributeQueryDescriptorElement() throws JAXBException
JAXBException
- if an error occurspublic QueryDescriptorType createQueryDescriptorType() throws JAXBException
JAXBException
- if an error occurspublic AttributeQueryDescriptorType createAttributeQueryDescriptorType() throws JAXBException
JAXBException
- if an error occurspublic AuthzDecisionQueryDescriptorType createAuthzDecisionQueryDescriptorType() throws JAXBException
JAXBException
- if an error occursCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.