Package com.sun.identity.saml2.ecp
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ECPRelayState
createECPRelayState()
Returns theECPRelayState
Object.ECPRelayState
createECPRelayState(String value)
Returns theECPRelayState
Object.ECPRelayState
createECPRelayState(Element value)
Returns theECPRelayState
Object.ECPRequest
createECPRequest()
Returns theECPRequest
Object.ECPRequest
createECPRequest(String value)
Returns theECPRequest
Object.ECPRequest
createECPRequest(Element value)
Returns theECPRequest
Object.ECPResponse
createECPResponse()
Returns theECPResponse
Object.ECPResponse
createECPResponse(String value)
Returns theECPResponse
Object.ECPResponse
createECPResponse(Element value)
Returns theECPResponse
Object.static ECPFactory
getInstance()
Returns an instance of theECPFactory
Object.
-
-
-
Method Detail
-
getInstance
public static ECPFactory getInstance()
Returns an instance of theECPFactory
Object.- Returns:
- an instance of the
ECPFactory
object.
-
createECPRelayState
public ECPRelayState createECPRelayState() throws SAML2Exception
Returns theECPRelayState
Object.- Returns:
- the
ECPRelayState
object. - Throws:
SAML2Exception
- ifECPRelayState
cannot be created.
-
createECPRelayState
public ECPRelayState createECPRelayState(Element value) throws SAML2Exception
Returns theECPRelayState
Object.- Parameters:
value
- the Document Element of ECPRelayState
object.- Returns:
- the
ECPRelayState
object. - Throws:
SAML2Exception
- ifECPRelayState
cannot be created.
-
createECPRelayState
public ECPRelayState createECPRelayState(String value) throws SAML2Exception
Returns theECPRelayState
Object.- Parameters:
value
- ECPRelayState
XML String.- Returns:
- the
ECPRelayState
object. - Throws:
SAML2Exception
- ifECPRelayState
cannot be created.
-
createECPRequest
public ECPRequest createECPRequest() throws SAML2Exception
Returns theECPRequest
Object.- Returns:
- the
ECPRequest
object. - Throws:
SAML2Exception
- ifECPRequest
cannot be created.
-
createECPRequest
public ECPRequest createECPRequest(Element value) throws SAML2Exception
Returns theECPRequest
Object.- Parameters:
value
- the Document Element of ECPRequest
object.- Returns:
- the
ECPRequest
object. - Throws:
SAML2Exception
- ifECPRequest
cannot be created.
-
createECPRequest
public ECPRequest createECPRequest(String value) throws SAML2Exception
Returns theECPRequest
Object.- Parameters:
value
- ECPRequest
XML String.- Returns:
- the
ECPRequest
object. - Throws:
SAML2Exception
- ifECPRequest
cannot be created.
-
createECPResponse
public ECPResponse createECPResponse() throws SAML2Exception
Returns theECPResponse
Object.- Returns:
- the
ECPResponse
object. - Throws:
SAML2Exception
- ifECPResponse
cannot be created.
-
createECPResponse
public ECPResponse createECPResponse(Element value) throws SAML2Exception
Returns theECPResponse
Object.- Parameters:
value
- the Document Element of ECPResponse
object.- Returns:
- the
ECPResponse
object. - Throws:
SAML2Exception
- ifECPResponse
cannot be created.
-
createECPResponse
public ECPResponse createECPResponse(String value) throws SAML2Exception
Returns theECPResponse
Object.- Parameters:
value
- ECPResponse
XML String.- Returns:
- the
ECPResponse
object. - Throws:
SAML2Exception
- ifECPResponse
cannot be created.
-
-