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