Class ObjectFactory
- java.lang.Object
-
- javax.xml.bind.JAXBContext
-
- com.sun.identity.saml2.jaxb.assertion.impl.runtime.DefaultJAXBContextImpl
-
- com.sun.identity.saml2.jaxb.xmlenc.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.xmlenc 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.xmlenc
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgreementMethodElementcreateAgreementMethodElement()Create an instance of AgreementMethodElementAgreementMethodTypecreateAgreementMethodType()Create an instance of AgreementMethodTypeAgreementMethodType.KANoncecreateAgreementMethodTypeKANonce()Create an instance of AgreementMethodTypeKANonceAgreementMethodType.KANoncecreateAgreementMethodTypeKANonce(byte[] value)Create an instance of AgreementMethodTypeKANonceAgreementMethodType.OriginatorKeyInfocreateAgreementMethodTypeOriginatorKeyInfo()Create an instance of AgreementMethodTypeOriginatorKeyInfoAgreementMethodType.RecipientKeyInfocreateAgreementMethodTypeRecipientKeyInfo()Create an instance of AgreementMethodTypeRecipientKeyInfoCipherDataElementcreateCipherDataElement()Create an instance of CipherDataElementCipherDataTypecreateCipherDataType()Create an instance of CipherDataTypeCipherReferenceElementcreateCipherReferenceElement()Create an instance of CipherReferenceElementCipherReferenceTypecreateCipherReferenceType()Create an instance of CipherReferenceTypeEncryptedDataElementcreateEncryptedDataElement()Create an instance of EncryptedDataElementEncryptedDataTypecreateEncryptedDataType()Create an instance of EncryptedDataTypeEncryptedKeyElementcreateEncryptedKeyElement()Create an instance of EncryptedKeyElementEncryptedKeyTypecreateEncryptedKeyType()Create an instance of EncryptedKeyTypeEncryptedTypecreateEncryptedType()Create an instance of EncryptedTypeEncryptionMethodTypecreateEncryptionMethodType()Create an instance of EncryptionMethodTypeEncryptionMethodType.KeySizecreateEncryptionMethodTypeKeySize()Create an instance of EncryptionMethodTypeKeySizeEncryptionMethodType.KeySizecreateEncryptionMethodTypeKeySize(BigInteger value)Create an instance of EncryptionMethodTypeKeySizeEncryptionMethodType.OAEPparamscreateEncryptionMethodTypeOAEPparams()Create an instance of EncryptionMethodTypeOAEPparamsEncryptionMethodType.OAEPparamscreateEncryptionMethodTypeOAEPparams(byte[] value)Create an instance of EncryptionMethodTypeOAEPparamsEncryptionPropertiesElementcreateEncryptionPropertiesElement()Create an instance of EncryptionPropertiesElementEncryptionPropertiesTypecreateEncryptionPropertiesType()Create an instance of EncryptionPropertiesTypeEncryptionPropertyElementcreateEncryptionPropertyElement()Create an instance of EncryptionPropertyElementEncryptionPropertyTypecreateEncryptionPropertyType()Create an instance of EncryptionPropertyTypeReferenceListElementcreateReferenceListElement()Create an instance of ReferenceListElementReferenceListTypecreateReferenceListType()Create an instance of ReferenceListTypeReferenceListType.DataReferencecreateReferenceListTypeDataReference()Create an instance of ReferenceListTypeDataReferenceReferenceListType.KeyReferencecreateReferenceListTypeKeyReference()Create an instance of ReferenceListTypeKeyReferenceReferenceTypecreateReferenceType()Create an instance of ReferenceTypeTransformsTypecreateTransformsType()Create an instance of TransformsTypeObjectgetProperty(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
-
createReferenceListTypeKeyReference
public ReferenceListType.KeyReference createReferenceListTypeKeyReference() throws JAXBException
Create an instance of ReferenceListTypeKeyReference- Throws:
JAXBException- if an error occurs
-
createCipherReferenceType
public CipherReferenceType createCipherReferenceType() throws JAXBException
Create an instance of CipherReferenceType- Throws:
JAXBException- if an error occurs
-
createCipherDataType
public CipherDataType createCipherDataType() throws JAXBException
Create an instance of CipherDataType- Throws:
JAXBException- if an error occurs
-
createReferenceListTypeDataReference
public ReferenceListType.DataReference createReferenceListTypeDataReference() throws JAXBException
Create an instance of ReferenceListTypeDataReference- Throws:
JAXBException- if an error occurs
-
createAgreementMethodTypeKANonce
public AgreementMethodType.KANonce createAgreementMethodTypeKANonce() throws JAXBException
Create an instance of AgreementMethodTypeKANonce- Throws:
JAXBException- if an error occurs
-
createAgreementMethodTypeKANonce
public AgreementMethodType.KANonce createAgreementMethodTypeKANonce(byte[] value) throws JAXBException
Create an instance of AgreementMethodTypeKANonce- Throws:
JAXBException- if an error occurs
-
createCipherDataElement
public CipherDataElement createCipherDataElement() throws JAXBException
Create an instance of CipherDataElement- Throws:
JAXBException- if an error occurs
-
createEncryptedType
public EncryptedType createEncryptedType() throws JAXBException
Create an instance of EncryptedType- Throws:
JAXBException- if an error occurs
-
createEncryptionMethodTypeKeySize
public EncryptionMethodType.KeySize createEncryptionMethodTypeKeySize() throws JAXBException
Create an instance of EncryptionMethodTypeKeySize- Throws:
JAXBException- if an error occurs
-
createEncryptionMethodTypeKeySize
public EncryptionMethodType.KeySize createEncryptionMethodTypeKeySize(BigInteger value) throws JAXBException
Create an instance of EncryptionMethodTypeKeySize- Throws:
JAXBException- if an error occurs
-
createReferenceListType
public ReferenceListType createReferenceListType() throws JAXBException
Create an instance of ReferenceListType- Throws:
JAXBException- if an error occurs
-
createReferenceType
public ReferenceType createReferenceType() throws JAXBException
Create an instance of ReferenceType- Throws:
JAXBException- if an error occurs
-
createEncryptionPropertiesElement
public EncryptionPropertiesElement createEncryptionPropertiesElement() throws JAXBException
Create an instance of EncryptionPropertiesElement- Throws:
JAXBException- if an error occurs
-
createEncryptionMethodType
public EncryptionMethodType createEncryptionMethodType() throws JAXBException
Create an instance of EncryptionMethodType- Throws:
JAXBException- if an error occurs
-
createEncryptedKeyElement
public EncryptedKeyElement createEncryptedKeyElement() throws JAXBException
Create an instance of EncryptedKeyElement- Throws:
JAXBException- if an error occurs
-
createCipherReferenceElement
public CipherReferenceElement createCipherReferenceElement() throws JAXBException
Create an instance of CipherReferenceElement- Throws:
JAXBException- if an error occurs
-
createEncryptedKeyType
public EncryptedKeyType createEncryptedKeyType() throws JAXBException
Create an instance of EncryptedKeyType- Throws:
JAXBException- if an error occurs
-
createTransformsType
public TransformsType createTransformsType() throws JAXBException
Create an instance of TransformsType- Throws:
JAXBException- if an error occurs
-
createEncryptedDataType
public EncryptedDataType createEncryptedDataType() throws JAXBException
Create an instance of EncryptedDataType- Throws:
JAXBException- if an error occurs
-
createReferenceListElement
public ReferenceListElement createReferenceListElement() throws JAXBException
Create an instance of ReferenceListElement- Throws:
JAXBException- if an error occurs
-
createEncryptionMethodTypeOAEPparams
public EncryptionMethodType.OAEPparams createEncryptionMethodTypeOAEPparams() throws JAXBException
Create an instance of EncryptionMethodTypeOAEPparams- Throws:
JAXBException- if an error occurs
-
createEncryptionMethodTypeOAEPparams
public EncryptionMethodType.OAEPparams createEncryptionMethodTypeOAEPparams(byte[] value) throws JAXBException
Create an instance of EncryptionMethodTypeOAEPparams- Throws:
JAXBException- if an error occurs
-
createEncryptionPropertyType
public EncryptionPropertyType createEncryptionPropertyType() throws JAXBException
Create an instance of EncryptionPropertyType- Throws:
JAXBException- if an error occurs
-
createEncryptedDataElement
public EncryptedDataElement createEncryptedDataElement() throws JAXBException
Create an instance of EncryptedDataElement- Throws:
JAXBException- if an error occurs
-
createEncryptionPropertiesType
public EncryptionPropertiesType createEncryptionPropertiesType() throws JAXBException
Create an instance of EncryptionPropertiesType- Throws:
JAXBException- if an error occurs
-
createEncryptionPropertyElement
public EncryptionPropertyElement createEncryptionPropertyElement() throws JAXBException
Create an instance of EncryptionPropertyElement- Throws:
JAXBException- if an error occurs
-
createAgreementMethodElement
public AgreementMethodElement createAgreementMethodElement() throws JAXBException
Create an instance of AgreementMethodElement- Throws:
JAXBException- if an error occurs
-
createAgreementMethodTypeRecipientKeyInfo
public AgreementMethodType.RecipientKeyInfo createAgreementMethodTypeRecipientKeyInfo() throws JAXBException
Create an instance of AgreementMethodTypeRecipientKeyInfo- Throws:
JAXBException- if an error occurs
-
createAgreementMethodTypeOriginatorKeyInfo
public AgreementMethodType.OriginatorKeyInfo createAgreementMethodTypeOriginatorKeyInfo() throws JAXBException
Create an instance of AgreementMethodTypeOriginatorKeyInfo- Throws:
JAXBException- if an error occurs
-
createAgreementMethodType
public AgreementMethodType createAgreementMethodType() throws JAXBException
Create an instance of AgreementMethodType- Throws:
JAXBException- if an error occurs
-
-