Class ECPFactory


  • @SupportedAll
    public class ECPFactory
    extends Object
    This is the factory class to obtain object instances for concrete elements in the ecp schema. This factory class provides 3 methods for each element. createElementName(), createElementName(String value), createElementName(org.w3c.dom.Element value).
    • Method Detail

      • getInstance

        public static ECPFactory getInstance()
        Returns an instance of the ECPFactory Object.
        Returns:
        an instance of the ECPFactory object.
      • createECPRelayState

        public ECPRelayState createECPRelayState()
                                          throws SAML2Exception
        Returns the ECPRelayState Object.
        Returns:
        the ECPRelayState object.
        Throws:
        SAML2Exception - if ECPRelayState cannot be created.
      • createECPRelayState

        public ECPRelayState createECPRelayState​(Element value)
                                          throws SAML2Exception
        Returns the ECPRelayState Object.
        Parameters:
        value - the Document Element of ECP RelayState object.
        Returns:
        the ECPRelayState object.
        Throws:
        SAML2Exception - if ECPRelayState cannot be created.
      • createECPRelayState

        public ECPRelayState createECPRelayState​(String value)
                                          throws SAML2Exception
        Returns the ECPRelayState Object.
        Parameters:
        value - ECP RelayState XML String.
        Returns:
        the ECPRelayState object.
        Throws:
        SAML2Exception - if ECPRelayState cannot be created.
      • createECPRequest

        public ECPRequest createECPRequest()
                                    throws SAML2Exception
        Returns the ECPRequest Object.
        Returns:
        the ECPRequest object.
        Throws:
        SAML2Exception - if ECPRequest cannot be created.
      • createECPRequest

        public ECPRequest createECPRequest​(Element value)
                                    throws SAML2Exception
        Returns the ECPRequest Object.
        Parameters:
        value - the Document Element of ECP Request object.
        Returns:
        the ECPRequest object.
        Throws:
        SAML2Exception - if ECPRequest cannot be created.
      • createECPRequest

        public ECPRequest createECPRequest​(String value)
                                    throws SAML2Exception
        Returns the ECPRequest Object.
        Parameters:
        value - ECP Request XML String.
        Returns:
        the ECPRequest object.
        Throws:
        SAML2Exception - if ECPRequest cannot be created.
      • createECPResponse

        public ECPResponse createECPResponse()
                                      throws SAML2Exception
        Returns the ECPResponse Object.
        Returns:
        the ECPResponse object.
        Throws:
        SAML2Exception - if ECPResponse cannot be created.
      • createECPResponse

        public ECPResponse createECPResponse​(Element value)
                                      throws SAML2Exception
        Returns the ECPResponse Object.
        Parameters:
        value - the Document Element of ECP Response object.
        Returns:
        the ECPResponse object.
        Throws:
        SAML2Exception - if ECPResponse cannot be created.
      • createECPResponse

        public ECPResponse createECPResponse​(String value)
                                      throws SAML2Exception
        Returns the ECPResponse Object.
        Parameters:
        value - ECP Response XML String.
        Returns:
        the ECPResponse object.
        Throws:
        SAML2Exception - if ECPResponse cannot be created.