com.sun.identity.saml2.protocol
クラス ProtocolFactory

java.lang.Object
  上位を拡張 com.sun.identity.saml2.protocol.ProtocolFactory

public class ProtocolFactory
extends Object

This is the factory class to obtain object instances for concrete elements in the protocol schema. This factory class provides 3 methods for each element. createElementName(), createElementName(String value), createElementName(org.w3c.dom.Element value).


メソッドの概要
 Artifact createArtifact(byte[] typecode, int endpointIndex, String sourceID, String messageHandle)
          Returns a new instance of Artifact.
 Artifact createArtifact(Element elem)
          Returns a new instance of Artifact.
 Artifact createArtifact(String encodedArtifactValue)
          Returns a new instance of Artifact.
 ArtifactResolve createArtifactResolve()
          Returns a new instance of ArtifactResolve.
 ArtifactResolve createArtifactResolve(Element elem)
          Returns a new instance of ArtifactResolve.
 ArtifactResolve createArtifactResolve(String xml)
          Returns a new instance of ArtifactResolve.
 ArtifactResponse createArtifactResponse()
          Returns a new instance of ArtifactResponse.
 ArtifactResponse createArtifactResponse(Element elem)
          Returns a new instance of ArtifactResponse.
 ArtifactResponse createArtifactResponse(String xml)
          Returns a new instance of ArtifactResponse.
 AssertionIDRequest createAssertionIDRequest()
          Returns the AssertionIDRequest Object.
 AssertionIDRequest createAssertionIDRequest(Element value)
          Returns the AssertionIDRequest Object.
 AssertionIDRequest createAssertionIDRequest(String value)
          Returns the AssertionIDRequest Object.
 AttributeQuery createAttributeQuery()
          Returns the AttributeQuery Object.
 AttributeQuery createAttributeQuery(Element value)
          Returns the AttributeQuery Object.
 AttributeQuery createAttributeQuery(String value)
          Returns the AttributeQuery Object.
 AuthnQuery createAuthnQuery()
          Returns the AuthnQuery Object.
 AuthnQuery createAuthnQuery(Element value)
          Returns the AuthnQuery Object.
 AuthnQuery createAuthnQuery(String value)
          Returns the AuthnQuery Object.
 AuthnRequest createAuthnRequest()
          Returns the AuthnRequest Object.
 AuthnRequest createAuthnRequest(Element value)
          Returns the AuthnRequest Object.
 AuthnRequest createAuthnRequest(String value)
          Returns the AuthnRequest Object.
 Extensions createExtensions()
          Returns the Extensions Object.
 Extensions createExtensions(Element value)
          Returns the Extensions Object.
 Extensions createExtensions(String value)
          Returns the Extensions Object.
 GetComplete createGetComplete()
          Returns the GetComplete Object.
 GetComplete createGetComplete(Element value)
          Returns the GetComplete Object.
 GetComplete createGetComplete(String value)
          Returns the GetComplete Object.
 IDPEntry createIDPEntry()
          Returns the IDPEntry Object.
 IDPEntry createIDPEntry(Element value)
          Returns the IDPEntry Object.
 IDPEntry createIDPEntry(String value)
          Returns the IDPEntry Object.
 IDPList createIDPList()
          Returns the IDPList Object.
 IDPList createIDPList(Element value)
          Returns the IDPList Object.
 IDPList createIDPList(String value)
          Returns the IDPList Object.
 LogoutRequest createLogoutRequest()
          Returns the LogoutRequest Object.
 LogoutRequest createLogoutRequest(Element value)
          Returns the LogoutRequest Object.
 LogoutRequest createLogoutRequest(String value)
          Returns the LogoutRequest Object.
 LogoutResponse createLogoutResponse()
          Returns the LogoutResponse Object.
 LogoutResponse createLogoutResponse(Element value)
          Returns the LogoutResponse Object.
 LogoutResponse createLogoutResponse(String value)
          Returns the LogoutResponse Object.
 ManageNameIDRequest createManageNameIDRequest()
          Returns a mutable manage name identifier request object.
 ManageNameIDRequest createManageNameIDRequest(Element value)
          Returns an immutable manage name identifier request object.
 ManageNameIDRequest createManageNameIDRequest(String value)
          Returns an immutable manage name identifier request object.
 ManageNameIDResponse createManageNameIDResponse()
          Returns a mutable manage name identifier response object.
 ManageNameIDResponse createManageNameIDResponse(Element value)
          Returns an immutable manage name identifier response object.
 ManageNameIDResponse createManageNameIDResponse(String value)
          Returns an immutable manage name identifier response object.
 NameIDMappingRequest createNameIDMappingRequest()
          Returns the NameIDMappingRequest Object.
 NameIDMappingRequest createNameIDMappingRequest(Element elem)
          Returns the NameIDMappingRequest Object.
 NameIDMappingRequest createNameIDMappingRequest(String value)
          Returns the NameIDMappingRequest Object.
 NameIDMappingResponse createNameIDMappingResponse()
          Returns the NameIDMappingResponse Object.
 NameIDMappingResponse createNameIDMappingResponse(Element elem)
          Returns the NameIDMappingResponse Object.
 NameIDMappingResponse createNameIDMappingResponse(String value)
          Returns the NameIDMappingResponse Object.
 NameIDPolicy createNameIDPolicy()
          Returns the NameIDPolicy Object.
 NameIDPolicy createNameIDPolicy(Element value)
          Returns the NameIDPolicy Object.
 NameIDPolicy createNameIDPolicy(String value)
          Returns the NameIDPolicy Object.
 NewEncryptedID createNewEncryptedID(Element value)
          Returns an immutable new encrypted identifier object.
 NewEncryptedID createNewEncryptedID(String value)
          Returns an immutable new encrypted identifier object.
 NewID createNewID(Element value)
          Returns an new identifier object.
 NewID createNewID(String value)
          Returns an new identifier object.
 RequestedAuthnContext createRequestedAuthnContext()
          Returns a mutable requested authentication context object.
 RequestedAuthnContext createRequestedAuthnContext(Element value)
          Returns an immutable requested authentication context object.
 RequestedAuthnContext createRequestedAuthnContext(String value)
          Returns an immutable requested authentication context object.
 RequesterID createRequesterID()
          Returns the RequesterID Object.
 RequesterID createRequesterID(Element value)
          Returns the RequesterID Object.
 RequesterID createRequesterID(String value)
          Returns the RequesterID Object.
 Response createResponse()
          Returns a new instance of Response.
 Response createResponse(Element elem)
          Returns a new instance of Response.
 Response createResponse(String xml)
          Returns a new instance of Response.
 Scoping createScoping()
          Returns the Scoping Object.
 Scoping createScoping(Element value)
          Returns the Scoping Object.
 Scoping createScoping(String value)
          Returns the Scoping Object.
 SessionIndex createSessionIndex(String value)
          Returns the SessionIndex Object.
 Status createStatus()
          Returns the Status Object.
 Status createStatus(Element value)
          Returns the Status Object.
 Status createStatus(String value)
          Returns the Status Object.
 StatusCode createStatusCode()
          Returns the StatusCode Object.
 StatusCode createStatusCode(Element value)
          Returns the StatusCode Object.
 StatusCode createStatusCode(String value)
          Returns the StatusCode Object.
 StatusDetail createStatusDetail()
          Returns the StatusDetail Object.
 StatusDetail createStatusDetail(Element value)
          Returns the StatusDetail Object.
 StatusDetail createStatusDetail(String value)
          Returns the StatusDetail Object.
 StatusMessage createStatusMessage(String value)
          Returns the StatusMessage Object.
static ProtocolFactory getInstance()
          Returns an instance of the ProtocolFactory Object.
 

メソッドの詳細

getInstance

public static ProtocolFactory getInstance()
Returns an instance of the ProtocolFactory Object.

戻り値:
an instance of the ProtocolFactory object.

createAssertionIDRequest

public AssertionIDRequest createAssertionIDRequest()
                                            throws SAML2Exception
Returns the AssertionIDRequest Object.

戻り値:
the AssertionIDRequest object.
例外:
SAML2Exception - if AssertionIDRequest cannot be created.

createAssertionIDRequest

public AssertionIDRequest createAssertionIDRequest(Element value)
                                            throws SAML2Exception
Returns the AssertionIDRequest Object.

パラメータ:
value - the Document Element of AssertionIDRequest object.
戻り値:
the AssertionIDRequest object.
例外:
SAML2Exception - if AssertionIDRequest cannot be created.

createAssertionIDRequest

public AssertionIDRequest createAssertionIDRequest(String value)
                                            throws SAML2Exception
Returns the AssertionIDRequest Object.

パラメータ:
value - AssertionIDRequest XML String.
戻り値:
the AssertionIDRequest object.
例外:
SAML2Exception - if AssertionIDRequest cannot be created.

createAttributeQuery

public AttributeQuery createAttributeQuery()
                                    throws SAML2Exception
Returns the AttributeQuery Object.

戻り値:
the AttributeQuery object.
例外:
SAML2Exception - if AttributeQuery cannot be created.

createAttributeQuery

public AttributeQuery createAttributeQuery(Element value)
                                    throws SAML2Exception
Returns the AttributeQuery Object.

パラメータ:
value - the Document Element of AttributeQuery object.
戻り値:
the AttributeQuery object.
例外:
SAML2Exception - if AttributeQuery cannot be created.

createAttributeQuery

public AttributeQuery createAttributeQuery(String value)
                                    throws SAML2Exception
Returns the AttributeQuery Object.

パラメータ:
value - AttributeQuery XML String.
戻り値:
the AttributeQuery object.
例外:
SAML2Exception - if AttributeQuery cannot be created.

createAuthnQuery

public AuthnQuery createAuthnQuery()
                            throws SAML2Exception
Returns the AuthnQuery Object.

戻り値:
the AuthnQuery object.
例外:
SAML2Exception - if AuthnQuery cannot be created.

createAuthnQuery

public AuthnQuery createAuthnQuery(Element value)
                            throws SAML2Exception
Returns the AuthnQuery Object.

パラメータ:
value - the Document Element of AuthnQuery object.
戻り値:
the AuthnQuery object.
例外:
SAML2Exception - if AuthnQuery cannot be created.

createAuthnQuery

public AuthnQuery createAuthnQuery(String value)
                            throws SAML2Exception
Returns the AuthnQuery Object.

パラメータ:
value - AuthnQuery XML String.
戻り値:
the AuthnQuery object.
例外:
SAML2Exception - if AuthnQuery cannot be created.

createAuthnRequest

public AuthnRequest createAuthnRequest()
                                throws SAML2Exception
Returns the AuthnRequest Object.

戻り値:
the AuthnRequest object.
例外:
SAML2Exception - if AuthnRequest cannot be created.

createAuthnRequest

public AuthnRequest createAuthnRequest(Element value)
                                throws SAML2Exception
Returns the AuthnRequest Object.

パラメータ:
value - the Document Element of AuthnRequest object.
戻り値:
the AuthnRequest object.
例外:
SAML2Exception - if AuthnRequest cannot be created.

createAuthnRequest

public AuthnRequest createAuthnRequest(String value)
                                throws SAML2Exception
Returns the AuthnRequest Object.

パラメータ:
value - AuthnRequest XML String.
戻り値:
the AuthnRequest object.
例外:
SAML2Exception - if AuthnRequest cannot be created.

createExtensions

public Extensions createExtensions()
                            throws SAML2Exception
Returns the Extensions Object.

戻り値:
the Extensions object.
例外:
SAML2Exception - if Extensions cannot be created.

createExtensions

public Extensions createExtensions(Element value)
                            throws SAML2Exception
Returns the Extensions Object.

パラメータ:
value - the Document Element of Extensions object.
戻り値:
instance of Extensions object.
例外:
SAML2Exception - if Extensions cannot be created.

createExtensions

public Extensions createExtensions(String value)
                            throws SAML2Exception
Returns the Extensions Object.

パラメータ:
value - XML String Representation of Extensions object.
戻り値:
instance of Extensions object.
例外:
SAML2Exception - if Extensions cannot be created.

createGetComplete

public GetComplete createGetComplete()
                              throws SAML2Exception
Returns the GetComplete Object.

戻り値:
instance of GetComplete object.
例外:
SAML2Exception - if GetComplete cannot be created.

createGetComplete

public GetComplete createGetComplete(Element value)
                              throws SAML2Exception
Returns the GetComplete Object.

パラメータ:
value - Document Element of GetComplete object.
戻り値:
instance of GetComplete Object.
例外:
SAML2Exception - if GetComplete cannot be created.

createGetComplete

public GetComplete createGetComplete(String value)
                              throws SAML2Exception
Returns the GetComplete Object.

パラメータ:
value - XML String representation of GetComplete object.
戻り値:
instance of GetComplete Object.
例外:
SAML2Exception - if GetComplete cannot be created.

createIDPEntry

public IDPEntry createIDPEntry()
                        throws SAML2Exception
Returns the IDPEntry Object.

戻り値:
instance of IDPEntry object.
例外:
SAML2Exception - if IDPEntry cannot be created.

createIDPEntry

public IDPEntry createIDPEntry(Element value)
                        throws SAML2Exception
Returns the IDPEntry Object.

パラメータ:
value - Document Element of IDPEntry object.
戻り値:
instance of IDPEntry object.
例外:
SAML2Exception - if IDPEntry cannot be created.

createIDPEntry

public IDPEntry createIDPEntry(String value)
                        throws SAML2Exception
Returns the IDPEntry Object.

パラメータ:
value - XML Representation of the IDPEntry object.
戻り値:
instance of IDPEntry Object.
例外:
SAML2Exception - if IDPEntry cannot be created.

createIDPList

public IDPList createIDPList()
                      throws SAML2Exception
Returns the IDPList Object.

戻り値:
instance of IDPList Object.
例外:
SAML2Exception - if IDPList cannot be created.

createIDPList

public IDPList createIDPList(Element value)
                      throws SAML2Exception
Returns the IDPList Object.

パラメータ:
value - Document Element of IDPList Object.
戻り値:
instance of IDPList Object.
例外:
SAML2Exception - if IDPList cannot be created.

createIDPList

public IDPList createIDPList(String value)
                      throws SAML2Exception
Returns the IDPList Object.

パラメータ:
value - XML String Representation of IDPList Object.
戻り値:
instance of IDPList Object.
例外:
SAML2Exception - if IDPList cannot be created.

createNameIDPolicy

public NameIDPolicy createNameIDPolicy()
                                throws SAML2Exception
Returns the NameIDPolicy Object.

戻り値:
instance of NameIDPolicy Object.
例外:
SAML2Exception - if NameIDPolicy cannot be created.

createNameIDPolicy

public NameIDPolicy createNameIDPolicy(Element value)
                                throws SAML2Exception
Returns the NameIDPolicy Object.

パラメータ:
value - Document Element of NameIDPolicy Object.
戻り値:
instance of NameIDPolicy Object.
例外:
SAML2Exception - if NameIDPolicy cannot be created.

createNameIDPolicy

public NameIDPolicy createNameIDPolicy(String value)
                                throws SAML2Exception
Returns the NameIDPolicy Object.

パラメータ:
value - XML String Representation of NameIDPolicy object.
戻り値:
instance of NameIDPolicy object.
例外:
SAML2Exception - if NameIDPolicy cannot be created.

createRequesterID

public RequesterID createRequesterID()
                              throws SAML2Exception
Returns the RequesterID Object.

戻り値:
instance of RequesterID Object.
例外:
SAML2Exception - if RequesterID cannot be created.

createRequesterID

public RequesterID createRequesterID(Element value)
                              throws SAML2Exception
Returns the RequesterID Object.

パラメータ:
value - Document Element of RequesterID Object.
戻り値:
instance of RequesterID Object.
例外:
SAML2Exception - if RequesterID cannot be created.

createRequesterID

public RequesterID createRequesterID(String value)
                              throws SAML2Exception
Returns the RequesterID Object.

パラメータ:
value - XML String Representation of RequesterID object.
戻り値:
instance of RequesterID Object.
例外:
SAML2Exception - if RequesterID cannot be created.

createScoping

public Scoping createScoping()
                      throws SAML2Exception
Returns the Scoping Object.

戻り値:
instance of Scoping Object.
例外:
SAML2Exception - if Scoping cannot be created.

createScoping

public Scoping createScoping(Element value)
                      throws SAML2Exception
Returns the Scoping Object.

パラメータ:
value - Document Element of Scoping Object.
戻り値:
instance of Scoping Object.
例外:
SAML2Exception - if Scoping cannot be created.

createScoping

public Scoping createScoping(String value)
                      throws SAML2Exception
Returns the Scoping Object.

パラメータ:
value - XML String Representation of Scoping Object.
戻り値:
instance of Scoping Object.
例外:
SAML2Exception - if Scoping cannot be created.

createRequestedAuthnContext

public RequestedAuthnContext createRequestedAuthnContext()
                                                  throws SAML2Exception
Returns a mutable requested authentication context object.

戻り値:
the RequestedAuthnContext object.
例外:
SAML2Exception - if it failed to instantiate the object.

createRequestedAuthnContext

public RequestedAuthnContext createRequestedAuthnContext(Element value)
                                                  throws SAML2Exception
Returns an immutable requested authentication context object.

パラメータ:
value - DOM element representing requested authentication context object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createRequestedAuthnContext

public RequestedAuthnContext createRequestedAuthnContext(String value)
                                                  throws SAML2Exception
Returns an immutable requested authentication context object.

パラメータ:
value - XML string representing requested authentication context object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createManageNameIDRequest

public ManageNameIDRequest createManageNameIDRequest()
Returns a mutable manage name identifier request object.

戻り値:
the ManageNameIDRequest object.

createManageNameIDRequest

public ManageNameIDRequest createManageNameIDRequest(Element value)
                                              throws SAML2Exception
Returns an immutable manage name identifier request object.

パラメータ:
value - DOM element representing ManageNameIDRequest object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createManageNameIDRequest

public ManageNameIDRequest createManageNameIDRequest(String value)
                                              throws SAML2Exception
Returns an immutable manage name identifier request object.

パラメータ:
value - XML string representing ManageNameIDRequest object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createManageNameIDResponse

public ManageNameIDResponse createManageNameIDResponse()
Returns a mutable manage name identifier response object.

戻り値:
the ManageNameIDResponse object.

createManageNameIDResponse

public ManageNameIDResponse createManageNameIDResponse(Element value)
                                                throws SAML2Exception
Returns an immutable manage name identifier response object.

パラメータ:
value - DOM element representing ManageNameIDResponse object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createManageNameIDResponse

public ManageNameIDResponse createManageNameIDResponse(String value)
                                                throws SAML2Exception
Returns an immutable manage name identifier response object.

パラメータ:
value - XML String representing ManageNameIDResponse object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createNewID

public NewID createNewID(Element value)
                  throws SAML2Exception
Returns an new identifier object.

パラメータ:
value - DOM element representing NewID object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createNewID

public NewID createNewID(String value)
                  throws SAML2Exception
Returns an new identifier object.

パラメータ:
value - of the NewID.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createNewEncryptedID

public NewEncryptedID createNewEncryptedID(Element value)
                                    throws SAML2Exception
Returns an immutable new encrypted identifier object.

パラメータ:
value - DOM element representing NewEncryptedID object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createNewEncryptedID

public NewEncryptedID createNewEncryptedID(String value)
                                    throws SAML2Exception
Returns an immutable new encrypted identifier object.

パラメータ:
value - XML String representing NewEncryptedID object.
戻り値:
an immutable requested authentication context object.
例外:
SAML2Exception - if it failed to instantiate the object.

createLogoutRequest

public LogoutRequest createLogoutRequest()
Returns the LogoutRequest Object.

戻り値:
the LogoutRequest object.

createLogoutRequest

public LogoutRequest createLogoutRequest(Element value)
                                  throws SAML2Exception
Returns the LogoutRequest Object. This object will be immutable.

パラメータ:
value - the org.w3c.dom.Element object representing the LogoutRequest object.
戻り値:
the LogoutRequest object.
例外:
SAML2Exception - if it fails to instantiate the object.

createLogoutRequest

public LogoutRequest createLogoutRequest(String value)
                                  throws SAML2Exception
Returns the LogoutRequest Object. This object will be immutable.

パラメータ:
value - the String representing the LogoutRequest object.
戻り値:
the LogoutRequest object.
例外:
SAML2Exception - if it fails to instantiate the object.

createLogoutResponse

public LogoutResponse createLogoutResponse()
Returns the LogoutResponse Object.

戻り値:
the LogoutResponse object.

createLogoutResponse

public LogoutResponse createLogoutResponse(Element value)
                                    throws SAML2Exception
Returns the LogoutResponse Object. This object will be immutable.

パラメータ:
value - the org.w3c.dom.Element representing the LogoutResponse object.
戻り値:
the LogoutResponse object.
例外:
SAML2Exception - if it fails to instantiate the object.

createLogoutResponse

public LogoutResponse createLogoutResponse(String value)
                                    throws SAML2Exception
Returns the LogoutResponse Object. This object will be immutable.

パラメータ:
value - the String representing the LogoutResponse object.
戻り値:
the LogoutResponse object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatus

public Status createStatus()
                    throws SAML2Exception
Returns the Status Object.

戻り値:
the Status object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatus

public Status createStatus(Element value)
                    throws SAML2Exception
Returns the Status Object. This object will be immutable.

パラメータ:
value - the org.w3c.dom.Element representing the Status object.
戻り値:
the Status object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatus

public Status createStatus(String value)
                    throws SAML2Exception
Returns the Status Object. This object will be immutable.

パラメータ:
value - the String representing the Status object.
戻り値:
the Status object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatusCode

public StatusCode createStatusCode()
                            throws SAML2Exception
Returns the StatusCode Object.

戻り値:
the StatusCode object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatusCode

public StatusCode createStatusCode(Element value)
                            throws SAML2Exception
Returns the StatusCode Object. This object will be immutable.

パラメータ:
value - the org.w3c.dom.Element representing the StatusCode object.
戻り値:
the StatusCode object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatusCode

public StatusCode createStatusCode(String value)
                            throws SAML2Exception
Returns the StatusCode Object. This object will be immutable.

パラメータ:
value - the String representing the StatusCode object.
戻り値:
the StatusCode object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatusDetail

public StatusDetail createStatusDetail()
                                throws SAML2Exception
Returns the StatusDetail Object.

戻り値:
the StatusDetail object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatusDetail

public StatusDetail createStatusDetail(Element value)
                                throws SAML2Exception
Returns the StatusDetail Object. This object will be immutable.

パラメータ:
value - the org.w3c.dom.Element representing the StatusDetail object.
戻り値:
the StatusDetail object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatusDetail

public StatusDetail createStatusDetail(String value)
                                throws SAML2Exception
Returns the StatusDetail Object. This object will be immutable.

パラメータ:
value - the String representing the StatusDetail object.
戻り値:
the StatusDetail object.
例外:
SAML2Exception - if it fails to instantiate the object.

createStatusMessage

public StatusMessage createStatusMessage(String value)
Returns the StatusMessage Object.

パラメータ:
value - A String StatusMessage value
戻り値:
the StatusMessage object.

createSessionIndex

public SessionIndex createSessionIndex(String value)
Returns the SessionIndex Object.

パラメータ:
value - A String SessionIndex value
戻り値:
the SessionIndex object.

createArtifact

public Artifact createArtifact(byte[] typecode,
                               int endpointIndex,
                               String sourceID,
                               String messageHandle)
                        throws SAML2Exception
Returns a new instance of Artifact.

パラメータ:
typecode - two byte sequence representing TypeCode.
endpointIndex - integer value representing EndpointIndex.
sourceID - String format of 20-byte sequence. Usually obtained from taking the SHA-1 hash of the identification URL (called provider ID).
messageHandle - String format of 20-byte sequence identifying a message. This value is constructed from a cryptographically strong random or pseudorandom number sequence.
戻り値:
a new instance of Artifact.
例外:
SAML2Exception - if it fails to instantiate the object.

createArtifact

public Artifact createArtifact(Element elem)
                        throws SAML2Exception
Returns a new instance of Artifact. The return object is immutable.

パラメータ:
elem - an Element representation of Artifact.
戻り値:
a new instance of Artifact.
例外:
SAML2Exception - if error occurs while processing the Element.

createArtifact

public Artifact createArtifact(String encodedArtifactValue)
                        throws SAML2Exception
Returns a new instance of Artifact. The return object is immutable.

パラメータ:
encodedArtifactValue - Artifact Base64 encoded String.
戻り値:
a new instance of Artifact.
例外:
SAML2Exception - if error occurs while processing the XML string.

createArtifactResolve

public ArtifactResolve createArtifactResolve()
Returns a new instance of ArtifactResolve. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of ArtifactResolve.

createArtifactResolve

public ArtifactResolve createArtifactResolve(Element elem)
                                      throws SAML2Exception
Returns a new instance of ArtifactResolve. The return object is immutable.

パラメータ:
elem - an Element representation of ArtifactResolve.
戻り値:
a new instance of ArtifactResolve.
例外:
SAML2Exception - if error occurs while processing the Element.

createArtifactResolve

public ArtifactResolve createArtifactResolve(String xml)
                                      throws SAML2Exception
Returns a new instance of ArtifactResolve. The return object is immutable.

パラメータ:
xml - a XML String representation of ArtifactResolve.
戻り値:
a new instance of ArtifactResolve.
例外:
SAML2Exception - if error occurs while processing the XML string.

createArtifactResponse

public ArtifactResponse createArtifactResponse()
Returns a new instance of ArtifactResponse. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of ArtifactResponse.

createArtifactResponse

public ArtifactResponse createArtifactResponse(Element elem)
                                        throws SAML2Exception
Returns a new instance of ArtifactResponse. The return object is immutable.

パラメータ:
elem - an Element representing ArtifactResponse.
戻り値:
a new instance of ArtifactResponse.
例外:
SAML2Exception - if error occurs while processing the Element.

createArtifactResponse

public ArtifactResponse createArtifactResponse(String xml)
                                        throws SAML2Exception
Returns a new instance of ArtifactResponse. The return object is immutable.

パラメータ:
xml - a XML String representation of ArtifactResponse.
戻り値:
a new instance of ArtifactResponse.
例外:
SAML2Exception - if error occurs while processing the XML string.

createResponse

public Response createResponse()
Returns a new instance of Response. Caller may need to call setters of the class to populate the object.

戻り値:
a new instance of Response.

createResponse

public Response createResponse(Element elem)
                        throws SAML2Exception
Returns a new instance of Response. The return object is immutable.

パラメータ:
elem - an Element representation of Response.
戻り値:
a new instance of Response.
例外:
SAML2Exception - if error occurs while processing the Element.

createResponse

public Response createResponse(String xml)
                        throws SAML2Exception
Returns a new instance of Response. The return object is immutable.

パラメータ:
xml - a XML String representation of Response.
戻り値:
a new instance of Response.
例外:
SAML2Exception - if error occurs while processing the XML string.

createNameIDMappingRequest

public NameIDMappingRequest createNameIDMappingRequest()
Returns the NameIDMappingRequest Object.

戻り値:
the NameIDMappingRequest object.

createNameIDMappingRequest

public NameIDMappingRequest createNameIDMappingRequest(Element elem)
                                                throws SAML2Exception
Returns the NameIDMappingRequest Object.

パラメータ:
elem - the Document Element of NameIDMappingRequest object.
戻り値:
the NameIDMappingRequest object.
例外:
SAML2Exception - if NameIDMappingRequest cannot be created.

createNameIDMappingRequest

public NameIDMappingRequest createNameIDMappingRequest(String value)
                                                throws SAML2Exception
Returns the NameIDMappingRequest Object.

パラメータ:
value - NameIDMappingRequest XML String.
戻り値:
the NameIDMappingRequest object.
例外:
SAML2Exception - if NameIDMappingRequest cannot be created.

createNameIDMappingResponse

public NameIDMappingResponse createNameIDMappingResponse()
Returns the NameIDMappingResponse Object.

戻り値:
the NameIDMappingResponse object.

createNameIDMappingResponse

public NameIDMappingResponse createNameIDMappingResponse(Element elem)
                                                  throws SAML2Exception
Returns the NameIDMappingResponse Object.

パラメータ:
elem - the Document Element of NameIDMappingResponse object.
戻り値:
the NameIDMappingResponse object.
例外:
SAML2Exception - if NameIDMappingResponse cannot be created.

createNameIDMappingResponse

public NameIDMappingResponse createNameIDMappingResponse(String value)
                                                  throws SAML2Exception
Returns the NameIDMappingResponse Object.

パラメータ:
value - NameIDMappingResponse XML String.
戻り値:
the NameIDMappingResponse object.
例外:
SAML2Exception - if NameIDMappingResponse cannot be created.