Class ECPFactory

java.lang.Object
com.sun.identity.saml2.ecp.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 Details

    • getInstance

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

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

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

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

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

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

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

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

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

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