|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.saml.protocol.StatusCode
public class StatusCode
This class represents the StatusCode and
SubStatusCode element. It corresponds to
samlp:StatusCodeType in SAML protocol schema.
| コンストラクタの概要 | |
|---|---|
StatusCode(Element statusCode)
Constructs an instance of StatusCode from a DOM element. |
|
StatusCode(String value)
Construct a StatusCode object from a value String. |
|
StatusCode(String value,
StatusCode subCode)
Construct a StatusCode object from a value String and a sub
StatusCode. |
|
| メソッドの概要 | |
|---|---|
StatusCode |
getStatusCode()
Gets the sub StatusCode of the StatusCode. |
String |
getValue()
Gets the value of the StatusCode. |
void |
setStatusCode(StatusCode subcode)
Sets the sub StatusCode. |
String |
toString()
Translates the StatusCode to an XML document String
based on the SAML schema. |
String |
toString(boolean includeNS,
boolean declareNS)
Creates a String representation of the <samlp:StatusCode> element. |
| コンストラクタの詳細 |
|---|
public StatusCode(Element statusCode)
throws SAMLException
StatusCode from a DOM element.
statusCode - An DOM Element that's rooted by
<StatusCode>.
SAMLException - when an error occurs.
public StatusCode(String value,
StatusCode subCode)
throws SAMLException
StatusCode object from a value String and a sub
StatusCode.
value - The value of the StatusCode. This could be
prefixed by samlp:. If it is not prefixed, or
prefixed by prefix other than samlp:,
samlp: will be used instead.subCode - The optional sub StatusCode.
SAMLException - if value string is null, empty, or contains
wrong value.
public StatusCode(String value)
throws SAMLException
StatusCode object from a value String.
value - The value of the StatusCode. This could be
prefixed by samlp:. It it is not prefixed, or
prefixed by prefix other than samlp:,
samlp: will be used instead.
SAMLException - if value string is null, empty, or contains
wrong value.| メソッドの詳細 |
|---|
public void setStatusCode(StatusCode subcode)
StatusCode.
subcode - StatusCode to be included.public StatusCode getStatusCode()
StatusCode of the StatusCode.
StatusCode.public String getValue()
StatusCode.
StatusCode.public String toString()
StatusCode to an XML document String
based on the SAML schema.
Object 内の toStringStatusCode.
public String toString(boolean includeNS,
boolean declareNS)
<samlp:StatusCode> 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.
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||