|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.identity.saml.protocol.Status
This class represents the Status element. It corresponds to <samlp:StatusType> in SAML protocol schema.
Constructor Summary | |
Status(org.w3c.dom.Element status)
This constructor is used to construct a Status from a DOM element. |
|
Status(StatusCode code)
Constructs a Status object from a StatusCode. |
|
Status(StatusCode code,
java.lang.String message,
org.w3c.dom.Element detail)
Constructor. |
Method Summary | |
StatusCode |
getStatusCode()
Gets the StatusCode of the Response. |
org.w3c.dom.Element |
getStatusDetail()
Gets the StatusDetail of the Response. |
java.lang.String |
getStatusMessage()
Gets the StatusMessage of the Response. |
java.lang.String |
toString()
This method translates the AssertionArtifact to an XML document String based on the SAML schema. |
java.lang.String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the <samlp:Status> element. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Status(org.w3c.dom.Element status) throws SAMLException
status
- An DOM Element that's rooted by <Status>.SAMLException
- when an error occurs.public Status(StatusCode code, java.lang.String message, org.w3c.dom.Element detail) throws SAMLException
code
- StatusCodemessage
- A String that is the StatusMessage of the
response. It could be null when there is no StatusMessage.detail
- A DOM tree element that is the StatusDetail of the
response. It could be null when there is no StatusDetail.public Status(StatusCode code) throws SAMLException
code
- StatusCodeMethod Detail |
public StatusCode getStatusCode()
public java.lang.String getStatusMessage()
public org.w3c.dom.Element getStatusDetail()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(boolean includeNS, boolean declareNS)
IncludeNS
- : Determines whether or not the namespace qualifier
is prepended to the Element when convertedDeclareNS
- : Determines whether or not the namespace is declared
within the Element.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |