Class ObjectFactory
- java.lang.Object
-
- javax.xml.bind.JAXBContext
-
- com.sun.identity.saml2.jaxb.assertion.impl.runtime.DefaultJAXBContextImpl
-
- com.sun.identity.saml2.jaxb.metadataextquery.ObjectFactory
-
public class ObjectFactory extends DefaultJAXBContextImpl
This object contains factory methods for each Java content interface and Java element interface generated in the com.sun.identity.saml2.jaxb.metadataextquery 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 Modifier and Type Field Description static GrammarInfogrammarInfostatic Classversion-
Fields inherited from class javax.xml.bind.JAXBContext
JAXB_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionNamespaceElementcreateActionNamespaceElement()Create an instance of ActionNamespaceElementActionNamespaceElementcreateActionNamespaceElement(String value)Create an instance of ActionNamespaceElementAttributeQueryDescriptorElementcreateAttributeQueryDescriptorElement()Create an instance of AttributeQueryDescriptorElementAttributeQueryDescriptorTypecreateAttributeQueryDescriptorType()Create an instance of AttributeQueryDescriptorTypeAuthnQueryDescriptorTypecreateAuthnQueryDescriptorType()Create an instance of AuthnQueryDescriptorTypeAuthzDecisionQueryDescriptorTypecreateAuthzDecisionQueryDescriptorType()Create an instance of AuthzDecisionQueryDescriptorTypeQueryDescriptorTypecreateQueryDescriptorType()Create an instance of QueryDescriptorTypeObjectgetProperty(String name)Get the specified property.ObjectnewInstance(Class javaContentInterface)Create an instance of the specified Java content interface.voidsetProperty(String name, Object value)Set the specified property.-
Methods inherited from class com.sun.identity.saml2.jaxb.assertion.impl.runtime.DefaultJAXBContextImpl
createMarshaller, createUnmarshaller, createValidator, getGrammar, getGrammarInfo
-
Methods inherited from class javax.xml.bind.JAXBContext
createBinder, createBinder, createJAXBIntrospector, generateSchema, newInstance, newInstance, newInstance, newInstance, newInstance
-
-
-
-
Field Detail
-
grammarInfo
public static final GrammarInfo grammarInfo
-
version
public static final Class version
-
-
Method Detail
-
newInstance
public Object newInstance(Class javaContentInterface) throws JAXBException
Create an instance of the specified Java content interface.- Overrides:
newInstancein classDefaultJAXBContextImpl- Parameters:
javaContentInterface- the Class object of the javacontent interface to instantiate- Returns:
- a new instance
- Throws:
JAXBException- if an error occurs
-
getProperty
public Object getProperty(String name) throws PropertyException
Get the specified property. This method can only be used to get provider specific properties. Attempting to get an undefined property will result in a PropertyException being thrown.- Overrides:
getPropertyin classDefaultJAXBContextImpl- Parameters:
name- the name of the property to retrieve- Returns:
- the value of the requested property
- Throws:
PropertyException- when there is an error retrieving the given property or value
-
setProperty
public void setProperty(String name, Object value) throws PropertyException
Set the specified property. This method can only be used to set provider specific properties. Attempting to set an undefined property will result in a PropertyException being thrown.- Overrides:
setPropertyin classDefaultJAXBContextImpl- Parameters:
name- the name of the property to retrievevalue- the value of the property to be set- Throws:
PropertyException- when there is an error processing the given property or value
-
createActionNamespaceElement
public ActionNamespaceElement createActionNamespaceElement() throws JAXBException
Create an instance of ActionNamespaceElement- Throws:
JAXBException- if an error occurs
-
createActionNamespaceElement
public ActionNamespaceElement createActionNamespaceElement(String value) throws JAXBException
Create an instance of ActionNamespaceElement- Throws:
JAXBException- if an error occurs
-
createAuthnQueryDescriptorType
public AuthnQueryDescriptorType createAuthnQueryDescriptorType() throws JAXBException
Create an instance of AuthnQueryDescriptorType- Throws:
JAXBException- if an error occurs
-
createAttributeQueryDescriptorElement
public AttributeQueryDescriptorElement createAttributeQueryDescriptorElement() throws JAXBException
Create an instance of AttributeQueryDescriptorElement- Throws:
JAXBException- if an error occurs
-
createQueryDescriptorType
public QueryDescriptorType createQueryDescriptorType() throws JAXBException
Create an instance of QueryDescriptorType- Throws:
JAXBException- if an error occurs
-
createAttributeQueryDescriptorType
public AttributeQueryDescriptorType createAttributeQueryDescriptorType() throws JAXBException
Create an instance of AttributeQueryDescriptorType- Throws:
JAXBException- if an error occurs
-
createAuthzDecisionQueryDescriptorType
public AuthzDecisionQueryDescriptorType createAuthzDecisionQueryDescriptorType() throws JAXBException
Create an instance of AuthzDecisionQueryDescriptorType- Throws:
JAXBException- if an error occurs
-
-