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.xmlsig 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.xmlsig
    • 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
      • createSPKIDataElement

        public SPKIDataElement createSPKIDataElement()
                                              throws JAXBException
        Create an instance of SPKIDataElement
        Throws:
        JAXBException - if an error occurs
      • createReferenceType

        public ReferenceType createReferenceType()
                                          throws JAXBException
        Create an instance of ReferenceType
        Throws:
        JAXBException - if an error occurs
      • createManifestElement

        public ManifestElement createManifestElement()
                                              throws JAXBException
        Create an instance of ManifestElement
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509IssuerSerial

        public X509DataType.X509IssuerSerial createX509DataTypeX509IssuerSerial()
                                                                         throws JAXBException
        Create an instance of X509DataTypeX509IssuerSerial
        Throws:
        JAXBException - if an error occurs
      • createCanonicalizationMethodElement

        public CanonicalizationMethodElement createCanonicalizationMethodElement()
                                                                          throws JAXBException
        Create an instance of CanonicalizationMethodElement
        Throws:
        JAXBException - if an error occurs
      • createSignedInfoType

        public SignedInfoType createSignedInfoType()
                                            throws JAXBException
        Create an instance of SignedInfoType
        Throws:
        JAXBException - if an error occurs
      • createDigestMethodType

        public DigestMethodType createDigestMethodType()
                                                throws JAXBException
        Create an instance of DigestMethodType
        Throws:
        JAXBException - if an error occurs
      • createSignatureMethodTypeHMACOutputLength

        public SignatureMethodType.HMACOutputLength createSignatureMethodTypeHMACOutputLength()
                                                                                       throws JAXBException
        Create an instance of SignatureMethodTypeHMACOutputLength
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509SubjectName

        public X509DataType.X509SubjectName createX509DataTypeX509SubjectName()
                                                                       throws JAXBException
        Create an instance of X509DataTypeX509SubjectName
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509SubjectName

        public X509DataType.X509SubjectName createX509DataTypeX509SubjectName​(String value)
                                                                       throws JAXBException
        Create an instance of X509DataTypeX509SubjectName
        Throws:
        JAXBException - if an error occurs
      • createKeyNameElement

        public KeyNameElement createKeyNameElement()
                                            throws JAXBException
        Create an instance of KeyNameElement
        Throws:
        JAXBException - if an error occurs
      • createKeyNameElement

        public KeyNameElement createKeyNameElement​(String value)
                                            throws JAXBException
        Create an instance of KeyNameElement
        Throws:
        JAXBException - if an error occurs
      • createKeyInfoElement

        public KeyInfoElement createKeyInfoElement()
                                            throws JAXBException
        Create an instance of KeyInfoElement
        Throws:
        JAXBException - if an error occurs
      • createRetrievalMethodElement

        public RetrievalMethodElement createRetrievalMethodElement()
                                                            throws JAXBException
        Create an instance of RetrievalMethodElement
        Throws:
        JAXBException - if an error occurs
      • createSignaturePropertyElement

        public SignaturePropertyElement createSignaturePropertyElement()
                                                                throws JAXBException
        Create an instance of SignaturePropertyElement
        Throws:
        JAXBException - if an error occurs
      • createX509DataElement

        public X509DataElement createX509DataElement()
                                              throws JAXBException
        Create an instance of X509DataElement
        Throws:
        JAXBException - if an error occurs
      • createSignedInfoElement

        public SignedInfoElement createSignedInfoElement()
                                                  throws JAXBException
        Create an instance of SignedInfoElement
        Throws:
        JAXBException - if an error occurs
      • createMgmtDataElement

        public MgmtDataElement createMgmtDataElement()
                                              throws JAXBException
        Create an instance of MgmtDataElement
        Throws:
        JAXBException - if an error occurs
      • createMgmtDataElement

        public MgmtDataElement createMgmtDataElement​(String value)
                                              throws JAXBException
        Create an instance of MgmtDataElement
        Throws:
        JAXBException - if an error occurs
      • createPGPDataType

        public PGPDataType createPGPDataType()
                                      throws JAXBException
        Create an instance of PGPDataType
        Throws:
        JAXBException - if an error occurs
      • createTransformTypeXPath

        public TransformType.XPath createTransformTypeXPath()
                                                     throws JAXBException
        Create an instance of TransformTypeXPath
        Throws:
        JAXBException - if an error occurs
      • createTransformTypeXPath

        public TransformType.XPath createTransformTypeXPath​(String value)
                                                     throws JAXBException
        Create an instance of TransformTypeXPath
        Throws:
        JAXBException - if an error occurs
      • createX509DataType

        public X509DataType createX509DataType()
                                        throws JAXBException
        Create an instance of X509DataType
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509CRL

        public X509DataType.X509CRL createX509DataTypeX509CRL()
                                                       throws JAXBException
        Create an instance of X509DataTypeX509CRL
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509CRL

        public X509DataType.X509CRL createX509DataTypeX509CRL​(byte[] value)
                                                       throws JAXBException
        Create an instance of X509DataTypeX509CRL
        Throws:
        JAXBException - if an error occurs
      • createX509IssuerSerialType

        public X509IssuerSerialType createX509IssuerSerialType()
                                                        throws JAXBException
        Create an instance of X509IssuerSerialType
        Throws:
        JAXBException - if an error occurs
      • createKeyInfoType

        public KeyInfoType createKeyInfoType()
                                      throws JAXBException
        Create an instance of KeyInfoType
        Throws:
        JAXBException - if an error occurs
      • createSignaturePropertyType

        public SignaturePropertyType createSignaturePropertyType()
                                                          throws JAXBException
        Create an instance of SignaturePropertyType
        Throws:
        JAXBException - if an error occurs
      • createTransformType

        public TransformType createTransformType()
                                          throws JAXBException
        Create an instance of TransformType
        Throws:
        JAXBException - if an error occurs
      • createSignatureMethodType

        public SignatureMethodType createSignatureMethodType()
                                                      throws JAXBException
        Create an instance of SignatureMethodType
        Throws:
        JAXBException - if an error occurs
      • createSignatureElement

        public SignatureElement createSignatureElement()
                                                throws JAXBException
        Create an instance of SignatureElement
        Throws:
        JAXBException - if an error occurs
      • createKeyValueType

        public KeyValueType createKeyValueType()
                                        throws JAXBException
        Create an instance of KeyValueType
        Throws:
        JAXBException - if an error occurs
      • createPGPDataElement

        public PGPDataElement createPGPDataElement()
                                            throws JAXBException
        Create an instance of PGPDataElement
        Throws:
        JAXBException - if an error occurs
      • createDigestValueElement

        public DigestValueElement createDigestValueElement()
                                                    throws JAXBException
        Create an instance of DigestValueElement
        Throws:
        JAXBException - if an error occurs
      • createDigestValueElement

        public DigestValueElement createDigestValueElement​(byte[] value)
                                                    throws JAXBException
        Create an instance of DigestValueElement
        Throws:
        JAXBException - if an error occurs
      • createRetrievalMethodType

        public RetrievalMethodType createRetrievalMethodType()
                                                      throws JAXBException
        Create an instance of RetrievalMethodType
        Throws:
        JAXBException - if an error occurs
      • createObjectElement

        public ObjectElement createObjectElement()
                                          throws JAXBException
        Create an instance of ObjectElement
        Throws:
        JAXBException - if an error occurs
      • createObjectType

        public ObjectType createObjectType()
                                    throws JAXBException
        Create an instance of ObjectType
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509SKI

        public X509DataType.X509SKI createX509DataTypeX509SKI()
                                                       throws JAXBException
        Create an instance of X509DataTypeX509SKI
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509SKI

        public X509DataType.X509SKI createX509DataTypeX509SKI​(byte[] value)
                                                       throws JAXBException
        Create an instance of X509DataTypeX509SKI
        Throws:
        JAXBException - if an error occurs
      • createDigestMethodElement

        public DigestMethodElement createDigestMethodElement()
                                                      throws JAXBException
        Create an instance of DigestMethodElement
        Throws:
        JAXBException - if an error occurs
      • createTransformsType

        public TransformsType createTransformsType()
                                            throws JAXBException
        Create an instance of TransformsType
        Throws:
        JAXBException - if an error occurs
      • createRSAKeyValueType

        public RSAKeyValueType createRSAKeyValueType()
                                              throws JAXBException
        Create an instance of RSAKeyValueType
        Throws:
        JAXBException - if an error occurs
      • createSPKIDataType

        public SPKIDataType createSPKIDataType()
                                        throws JAXBException
        Create an instance of SPKIDataType
        Throws:
        JAXBException - if an error occurs
      • createSPKIDataTypeSPKISexp

        public SPKIDataType.SPKISexp createSPKIDataTypeSPKISexp()
                                                         throws JAXBException
        Create an instance of SPKIDataTypeSPKISexp
        Throws:
        JAXBException - if an error occurs
      • createSPKIDataTypeSPKISexp

        public SPKIDataType.SPKISexp createSPKIDataTypeSPKISexp​(byte[] value)
                                                         throws JAXBException
        Create an instance of SPKIDataTypeSPKISexp
        Throws:
        JAXBException - if an error occurs
      • createSignatureMethodElement

        public SignatureMethodElement createSignatureMethodElement()
                                                            throws JAXBException
        Create an instance of SignatureMethodElement
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509Certificate

        public X509DataType.X509Certificate createX509DataTypeX509Certificate()
                                                                       throws JAXBException
        Create an instance of X509DataTypeX509Certificate
        Throws:
        JAXBException - if an error occurs
      • createX509DataTypeX509Certificate

        public X509DataType.X509Certificate createX509DataTypeX509Certificate​(byte[] value)
                                                                       throws JAXBException
        Create an instance of X509DataTypeX509Certificate
        Throws:
        JAXBException - if an error occurs
      • createTransformElement

        public TransformElement createTransformElement()
                                                throws JAXBException
        Create an instance of TransformElement
        Throws:
        JAXBException - if an error occurs
      • createManifestType

        public ManifestType createManifestType()
                                        throws JAXBException
        Create an instance of ManifestType
        Throws:
        JAXBException - if an error occurs
      • createSignaturePropertiesType

        public SignaturePropertiesType createSignaturePropertiesType()
                                                              throws JAXBException
        Create an instance of SignaturePropertiesType
        Throws:
        JAXBException - if an error occurs
      • createRSAKeyValueElement

        public RSAKeyValueElement createRSAKeyValueElement()
                                                    throws JAXBException
        Create an instance of RSAKeyValueElement
        Throws:
        JAXBException - if an error occurs
      • createSignaturePropertiesElement

        public SignaturePropertiesElement createSignaturePropertiesElement()
                                                                    throws JAXBException
        Create an instance of SignaturePropertiesElement
        Throws:
        JAXBException - if an error occurs
      • createSignatureType

        public SignatureType createSignatureType()
                                          throws JAXBException
        Create an instance of SignatureType
        Throws:
        JAXBException - if an error occurs
      • createKeyValueElement

        public KeyValueElement createKeyValueElement()
                                              throws JAXBException
        Create an instance of KeyValueElement
        Throws:
        JAXBException - if an error occurs
      • createReferenceElement

        public ReferenceElement createReferenceElement()
                                                throws JAXBException
        Create an instance of ReferenceElement
        Throws:
        JAXBException - if an error occurs
      • createSignatureValueElement

        public SignatureValueElement createSignatureValueElement()
                                                          throws JAXBException
        Create an instance of SignatureValueElement
        Throws:
        JAXBException - if an error occurs
      • createSignatureValueType

        public SignatureValueType createSignatureValueType()
                                                    throws JAXBException
        Create an instance of SignatureValueType
        Throws:
        JAXBException - if an error occurs
      • createDSAKeyValueType

        public DSAKeyValueType createDSAKeyValueType()
                                              throws JAXBException
        Create an instance of DSAKeyValueType
        Throws:
        JAXBException - if an error occurs
      • createDSAKeyValueElement

        public DSAKeyValueElement createDSAKeyValueElement()
                                                    throws JAXBException
        Create an instance of DSAKeyValueElement
        Throws:
        JAXBException - if an error occurs
      • createTransformsElement

        public TransformsElement createTransformsElement()
                                                  throws JAXBException
        Create an instance of TransformsElement
        Throws:
        JAXBException - if an error occurs
      • createCanonicalizationMethodType

        public CanonicalizationMethodType createCanonicalizationMethodType()
                                                                    throws JAXBException
        Create an instance of CanonicalizationMethodType
        Throws:
        JAXBException - if an error occurs