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 javax.xml.bind.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:
        javax.xml.bind.JAXBException - if an error occurs
      • getProperty

        public Object getProperty​(String name)
                           throws javax.xml.bind.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:
        javax.xml.bind.PropertyException - when there is an error retrieving the given property or value
      • setProperty

        public void setProperty​(String name,
                                Object value)
                         throws javax.xml.bind.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:
        javax.xml.bind.PropertyException - when there is an error processing the given property or value
      • createReferenceListTypeKeyReference

        public ReferenceListType.KeyReference createReferenceListTypeKeyReference()
                                                                           throws javax.xml.bind.JAXBException
        Create an instance of ReferenceListTypeKeyReference
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createCipherReferenceType

        public CipherReferenceType createCipherReferenceType()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of CipherReferenceType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createCipherDataType

        public CipherDataType createCipherDataType()
                                            throws javax.xml.bind.JAXBException
        Create an instance of CipherDataType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createReferenceListTypeDataReference

        public ReferenceListType.DataReference createReferenceListTypeDataReference()
                                                                             throws javax.xml.bind.JAXBException
        Create an instance of ReferenceListTypeDataReference
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAgreementMethodTypeKANonce

        public AgreementMethodType.KANonce createAgreementMethodTypeKANonce()
                                                                     throws javax.xml.bind.JAXBException
        Create an instance of AgreementMethodTypeKANonce
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAgreementMethodTypeKANonce

        public AgreementMethodType.KANonce createAgreementMethodTypeKANonce​(byte[] value)
                                                                     throws javax.xml.bind.JAXBException
        Create an instance of AgreementMethodTypeKANonce
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createCipherDataElement

        public CipherDataElement createCipherDataElement()
                                                  throws javax.xml.bind.JAXBException
        Create an instance of CipherDataElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptedType

        public EncryptedType createEncryptedType()
                                          throws javax.xml.bind.JAXBException
        Create an instance of EncryptedType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionMethodTypeKeySize

        public EncryptionMethodType.KeySize createEncryptionMethodTypeKeySize()
                                                                       throws javax.xml.bind.JAXBException
        Create an instance of EncryptionMethodTypeKeySize
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionMethodTypeKeySize

        public EncryptionMethodType.KeySize createEncryptionMethodTypeKeySize​(BigInteger value)
                                                                       throws javax.xml.bind.JAXBException
        Create an instance of EncryptionMethodTypeKeySize
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createReferenceListType

        public ReferenceListType createReferenceListType()
                                                  throws javax.xml.bind.JAXBException
        Create an instance of ReferenceListType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createReferenceType

        public ReferenceType createReferenceType()
                                          throws javax.xml.bind.JAXBException
        Create an instance of ReferenceType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionPropertiesElement

        public EncryptionPropertiesElement createEncryptionPropertiesElement()
                                                                      throws javax.xml.bind.JAXBException
        Create an instance of EncryptionPropertiesElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionMethodType

        public EncryptionMethodType createEncryptionMethodType()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of EncryptionMethodType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptedKeyElement

        public EncryptedKeyElement createEncryptedKeyElement()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of EncryptedKeyElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createCipherReferenceElement

        public CipherReferenceElement createCipherReferenceElement()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of CipherReferenceElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptedKeyType

        public EncryptedKeyType createEncryptedKeyType()
                                                throws javax.xml.bind.JAXBException
        Create an instance of EncryptedKeyType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createTransformsType

        public TransformsType createTransformsType()
                                            throws javax.xml.bind.JAXBException
        Create an instance of TransformsType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptedDataType

        public EncryptedDataType createEncryptedDataType()
                                                  throws javax.xml.bind.JAXBException
        Create an instance of EncryptedDataType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createReferenceListElement

        public ReferenceListElement createReferenceListElement()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of ReferenceListElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionMethodTypeOAEPparams

        public EncryptionMethodType.OAEPparams createEncryptionMethodTypeOAEPparams()
                                                                             throws javax.xml.bind.JAXBException
        Create an instance of EncryptionMethodTypeOAEPparams
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionMethodTypeOAEPparams

        public EncryptionMethodType.OAEPparams createEncryptionMethodTypeOAEPparams​(byte[] value)
                                                                             throws javax.xml.bind.JAXBException
        Create an instance of EncryptionMethodTypeOAEPparams
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionPropertyType

        public EncryptionPropertyType createEncryptionPropertyType()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of EncryptionPropertyType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptedDataElement

        public EncryptedDataElement createEncryptedDataElement()
                                                        throws javax.xml.bind.JAXBException
        Create an instance of EncryptedDataElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionPropertiesType

        public EncryptionPropertiesType createEncryptionPropertiesType()
                                                                throws javax.xml.bind.JAXBException
        Create an instance of EncryptionPropertiesType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createEncryptionPropertyElement

        public EncryptionPropertyElement createEncryptionPropertyElement()
                                                                  throws javax.xml.bind.JAXBException
        Create an instance of EncryptionPropertyElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAgreementMethodElement

        public AgreementMethodElement createAgreementMethodElement()
                                                            throws javax.xml.bind.JAXBException
        Create an instance of AgreementMethodElement
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAgreementMethodTypeRecipientKeyInfo

        public AgreementMethodType.RecipientKeyInfo createAgreementMethodTypeRecipientKeyInfo()
                                                                                       throws javax.xml.bind.JAXBException
        Create an instance of AgreementMethodTypeRecipientKeyInfo
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAgreementMethodTypeOriginatorKeyInfo

        public AgreementMethodType.OriginatorKeyInfo createAgreementMethodTypeOriginatorKeyInfo()
                                                                                         throws javax.xml.bind.JAXBException
        Create an instance of AgreementMethodTypeOriginatorKeyInfo
        Throws:
        javax.xml.bind.JAXBException - if an error occurs
      • createAgreementMethodType

        public AgreementMethodType createAgreementMethodType()
                                                      throws javax.xml.bind.JAXBException
        Create an instance of AgreementMethodType
        Throws:
        javax.xml.bind.JAXBException - if an error occurs