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:
SAML2Exception- ifECPRelayStatecannot be created.
-
createECPRelayState
Returns theECPRelayStateObject.- Parameters:
value- the Document Element of ECPRelayStateobject.- Returns:
- the
ECPRelayStateobject. - Throws:
SAML2Exception- ifECPRelayStatecannot be created.
-
createECPRelayState
Returns theECPRelayStateObject.- Parameters:
value- ECPRelayStateXML String.- Returns:
- the
ECPRelayStateobject. - Throws:
SAML2Exception- ifECPRelayStatecannot be created.
-
createECPRequest
Returns theECPRequestObject.- Returns:
- the
ECPRequestobject. - Throws:
SAML2Exception- ifECPRequestcannot be created.
-
createECPRequest
Returns theECPRequestObject.- Parameters:
value- the Document Element of ECPRequestobject.- Returns:
- the
ECPRequestobject. - Throws:
SAML2Exception- ifECPRequestcannot be created.
-
createECPRequest
Returns theECPRequestObject.- Parameters:
value- ECPRequestXML String.- Returns:
- the
ECPRequestobject. - Throws:
SAML2Exception- ifECPRequestcannot be created.
-
createECPResponse
Returns theECPResponseObject.- Returns:
- the
ECPResponseobject. - Throws:
SAML2Exception- ifECPResponsecannot be created.
-
createECPResponse
Returns theECPResponseObject.- Parameters:
value- the Document Element of ECPResponseobject.- Returns:
- the
ECPResponseobject. - Throws:
SAML2Exception- ifECPResponsecannot be created.
-
createECPResponse
Returns theECPResponseObject.- Parameters:
value- ECPResponseXML String.- Returns:
- the
ECPResponseobject. - Throws:
SAML2Exception- ifECPResponsecannot be created.
-