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.wsse
|
Modifier and Type | Method and Description |
---|---|
AttributedString |
createAttributedString()
Create an instance of AttributedString
|
BinarySecurityTokenElement |
createBinarySecurityTokenElement()
Create an instance of BinarySecurityTokenElement
|
BinarySecurityTokenType |
createBinarySecurityTokenType()
Create an instance of BinarySecurityTokenType
|
EmbeddedElement |
createEmbeddedElement()
Create an instance of EmbeddedElement
|
EmbeddedType |
createEmbeddedType()
Create an instance of EmbeddedType
|
EncodedString |
createEncodedString()
Create an instance of EncodedString
|
KeyIdentifierElement |
createKeyIdentifierElement()
Create an instance of KeyIdentifierElement
|
KeyIdentifierType |
createKeyIdentifierType()
Create an instance of KeyIdentifierType
|
NonceElement |
createNonceElement()
Create an instance of NonceElement
|
PasswordElement |
createPasswordElement()
Create an instance of PasswordElement
|
PasswordString |
createPasswordString()
Create an instance of PasswordString
|
ReferenceElement |
createReferenceElement()
Create an instance of ReferenceElement
|
ReferenceType |
createReferenceType()
Create an instance of ReferenceType
|
SecurityElement |
createSecurityElement()
Create an instance of SecurityElement
|
SecurityHeaderType |
createSecurityHeaderType()
Create an instance of SecurityHeaderType
|
SecurityTokenReferenceElement |
createSecurityTokenReferenceElement()
Create an instance of SecurityTokenReferenceElement
|
SecurityTokenReferenceType |
createSecurityTokenReferenceType()
Create an instance of SecurityTokenReferenceType
|
TransformationParametersElement |
createTransformationParametersElement()
Create an instance of TransformationParametersElement
|
TransformationParametersType |
createTransformationParametersType()
Create an instance of TransformationParametersType
|
UsernameTokenElement |
createUsernameTokenElement()
Create an instance of UsernameTokenElement
|
UsernameTokenType |
createUsernameTokenType()
Create an instance of UsernameTokenType
|
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 EmbeddedType createEmbeddedType() throws JAXBException
JAXBException
- if an error occurspublic ReferenceType createReferenceType() throws JAXBException
JAXBException
- if an error occurspublic BinarySecurityTokenElement createBinarySecurityTokenElement() throws JAXBException
JAXBException
- if an error occurspublic SecurityElement createSecurityElement() throws JAXBException
JAXBException
- if an error occurspublic SecurityHeaderType createSecurityHeaderType() throws JAXBException
JAXBException
- if an error occurspublic EmbeddedElement createEmbeddedElement() throws JAXBException
JAXBException
- if an error occurspublic UsernameTokenElement createUsernameTokenElement() throws JAXBException
JAXBException
- if an error occurspublic TransformationParametersType createTransformationParametersType() throws JAXBException
JAXBException
- if an error occurspublic TransformationParametersElement createTransformationParametersElement() throws JAXBException
JAXBException
- if an error occurspublic EncodedString createEncodedString() throws JAXBException
JAXBException
- if an error occurspublic PasswordElement createPasswordElement() throws JAXBException
JAXBException
- if an error occurspublic SecurityTokenReferenceElement createSecurityTokenReferenceElement() throws JAXBException
JAXBException
- if an error occurspublic SecurityTokenReferenceType createSecurityTokenReferenceType() throws JAXBException
JAXBException
- if an error occurspublic PasswordString createPasswordString() throws JAXBException
JAXBException
- if an error occurspublic KeyIdentifierElement createKeyIdentifierElement() throws JAXBException
JAXBException
- if an error occurspublic BinarySecurityTokenType createBinarySecurityTokenType() throws JAXBException
JAXBException
- if an error occurspublic ReferenceElement createReferenceElement() throws JAXBException
JAXBException
- if an error occurspublic NonceElement createNonceElement() throws JAXBException
JAXBException
- if an error occurspublic AttributedString createAttributedString() throws JAXBException
JAXBException
- if an error occurspublic UsernameTokenType createUsernameTokenType() throws JAXBException
JAXBException
- if an error occurspublic KeyIdentifierType createKeyIdentifierType() throws JAXBException
JAXBException
- if an error occursCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.