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 theECPRelayState
Object.createECPRelayState
(String value) Returns theECPRelayState
Object.createECPRelayState
(Element value) Returns theECPRelayState
Object.Returns theECPRequest
Object.createECPRequest
(String value) Returns theECPRequest
Object.createECPRequest
(Element value) Returns theECPRequest
Object.Returns theECPResponse
Object.createECPResponse
(String value) Returns theECPResponse
Object.createECPResponse
(Element value) Returns theECPResponse
Object.static ECPFactory
Returns an instance of theECPFactory
Object.
-
Method Details
-
getInstance
Returns an instance of theECPFactory
Object.- Returns:
- an instance of the
ECPFactory
object.
-
createECPRelayState
Returns theECPRelayState
Object.- Returns:
- the
ECPRelayState
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPRelayState
cannot be created.
-
createECPRelayState
public ECPRelayState createECPRelayState(Element value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPRelayState
Object.- Parameters:
value
- the Document Element of ECPRelayState
object.- Returns:
- the
ECPRelayState
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPRelayState
cannot be created.
-
createECPRelayState
public ECPRelayState createECPRelayState(String value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPRelayState
Object.- Parameters:
value
- ECPRelayState
XML String.- Returns:
- the
ECPRelayState
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPRelayState
cannot be created.
-
createECPRequest
Returns theECPRequest
Object.- Returns:
- the
ECPRequest
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPRequest
cannot be created.
-
createECPRequest
public ECPRequest createECPRequest(Element value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPRequest
Object.- Parameters:
value
- the Document Element of ECPRequest
object.- Returns:
- the
ECPRequest
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPRequest
cannot be created.
-
createECPRequest
public ECPRequest createECPRequest(String value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPRequest
Object.- Parameters:
value
- ECPRequest
XML String.- Returns:
- the
ECPRequest
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPRequest
cannot be created.
-
createECPResponse
Returns theECPResponse
Object.- Returns:
- the
ECPResponse
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPResponse
cannot be created.
-
createECPResponse
public ECPResponse createECPResponse(Element value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPResponse
Object.- Parameters:
value
- the Document Element of ECPResponse
object.- Returns:
- the
ECPResponse
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPResponse
cannot be created.
-
createECPResponse
public ECPResponse createECPResponse(String value) throws com.sun.identity.saml2.common.SAML2Exception Returns theECPResponse
Object.- Parameters:
value
- ECPResponse
XML String.- Returns:
- the
ECPResponse
object. - Throws:
com.sun.identity.saml2.common.SAML2Exception
- ifECPResponse
cannot be created.
-