Class 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 Detail

      • grammarInfo

        public static final GrammarInfo grammarInfo
      • version

        public static final Class version
    • Constructor Detail

      • ObjectFactory

        public 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 Detail

      • newInstance

        public Object newInstance​(Class javaContentInterface)
                           throws JAXBException
        Create an instance of the specified Java content interface.
        Overrides:
        newInstance in class DefaultJAXBContextImpl
        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:
        getProperty in class DefaultJAXBContextImpl
        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:
        setProperty in class DefaultJAXBContextImpl
        Parameters:
        name - the name of the property to retrieve
        value - 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
      • 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