| 
 | |||||||||
| 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 StatusCodeof the Response. | 
|  org.w3c.dom.Element | getStatusDetail()Gets the StatusDetailof the Response. | 
|  java.lang.String | getStatusMessage()Returns the StatusMessageof the Response. | 
|  java.lang.String | toString()This method translates the AssertionArtifactto 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 - StatusCode.message - 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.SAMLException -  
public Status(StatusCode code)
       throws SAMLException
StatusCode.code - StatusCode.SAMLException -  | Method Detail | 
public StatusCode getStatusCode()
StatusCode of the Response.StatusCode of the response.public java.lang.String getStatusMessage()
StatusMessage of the Response.StatusMessage of the
         response. null is returned when there is no
         StatusMessage in the response.public org.w3c.dom.Element getStatusDetail()
StatusDetail of the Response.StatusDetail
         of the response. Null is returned if no StatusDetail
         in the response.public java.lang.String toString()
AssertionArtifact to an XML
 document String based on the SAML schema.toString in class java.lang.ObjectAssertionArtifact.
public java.lang.String toString(boolean includeNS,
                                 boolean declareNS)
<samlp:Status>
 element.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 | ||||||||