Package com.sun.identity.saml2.ecp
Class ECPFactory
java.lang.Object
com.sun.identity.saml2.ecp.ECPFactory
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 Summary
Modifier and TypeMethodDescriptionReturns theECPRelayStateObject.createECPRelayState(String value) Returns theECPRelayStateObject.createECPRelayState(Element value) Returns theECPRelayStateObject.Returns theECPRequestObject.createECPRequest(String value) Returns theECPRequestObject.createECPRequest(Element value) Returns theECPRequestObject.Returns theECPResponseObject.createECPResponse(String value) Returns theECPResponseObject.createECPResponse(Element value) Returns theECPResponseObject.static ECPFactoryReturns an instance of theECPFactoryObject.
-
Method Details
-
getInstance
Returns an instance of theECPFactoryObject.- Returns:
- an instance of the
ECPFactoryobject.
-
createECPRelayState
Returns theECPRelayStateObject.- Returns:
- the
ECPRelayStateobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPRelayStatecannot be created.
-
createECPRelayState
public ECPRelayState createECPRelayState(Element value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPRelayStateObject.- Parameters:
value- the Document Element of ECPRelayStateobject.- Returns:
- the
ECPRelayStateobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPRelayStatecannot be created.
-
createECPRelayState
public ECPRelayState createECPRelayState(String value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPRelayStateObject.- Parameters:
value- ECPRelayStateXML String.- Returns:
- the
ECPRelayStateobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPRelayStatecannot be created.
-
createECPRequest
Returns theECPRequestObject.- Returns:
- the
ECPRequestobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPRequestcannot be created.
-
createECPRequest
public ECPRequest createECPRequest(Element value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPRequestObject.- Parameters:
value- the Document Element of ECPRequestobject.- Returns:
- the
ECPRequestobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPRequestcannot be created.
-
createECPRequest
public ECPRequest createECPRequest(String value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPRequestObject.- Parameters:
value- ECPRequestXML String.- Returns:
- the
ECPRequestobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPRequestcannot be created.
-
createECPResponse
Returns theECPResponseObject.- Returns:
- the
ECPResponseobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPResponsecannot be created.
-
createECPResponse
public ECPResponse createECPResponse(Element value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPResponseObject.- Parameters:
value- the Document Element of ECPResponseobject.- Returns:
- the
ECPResponseobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPResponsecannot be created.
-
createECPResponse
public ECPResponse createECPResponse(String value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPResponseObject.- Parameters:
value- ECPResponseXML String.- Returns:
- the
ECPResponseobject. - Throws:
com.sun.identity.saml2.common.SAML2Exception- ifECPResponsecannot be created.
-