public interface StatusCode
StatusCodeType
complex type in
SAML protocol schema.
The StatusCode
element specifies a code or a set of nested codes
representing the status of the corresponding request.
<complexType name="StatusCodeType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{urn:oasis:names:tc:SAML:2.0:protocol}StatusCode" minOccurs="0"/> </sequence> <attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType>
Modifier and Type | Method and Description |
---|---|
StatusCode |
getStatusCode()
Returns the value of the statusCode property.
|
String |
getValue()
Returns the value of the value property.
|
boolean |
isMutable()
Returns true if the object is mutable, false otherwise
|
void |
makeImmutable()
Makes the object immutable
|
void |
setStatusCode(StatusCode value)
Sets the value of the statusCode property.
|
void |
setValue(String value)
Sets the value of the value property.
|
String |
toXMLString()
Returns the
StatusCode in an XML document String format
based on the StatusCode schema described above. |
String |
toXMLString(boolean includeNSPrefix,
boolean declareNS)
Returns the
StatusCode in an XML document String format
based on the StatusCode schema described above. |
StatusCode getStatusCode()
StatusCode.setStatusCode(StatusCode)
void setStatusCode(StatusCode value) throws SAML2Exception
value
- the value of the statusCode property to be setSAML2Exception
- if the object is immutableStatusCode.getStatusCode()
String getValue()
StatusCode.setValue(String)
void setValue(String value) throws SAML2Exception
value
- the value of the value property to be setSAML2Exception
- if the object is immutableStatusCode.getValue()
String toXMLString() throws SAML2Exception
StatusCode
in an XML document String format
based on the StatusCode
schema described above.StatusCode
.SAML2Exception
- if some error occurs during conversion to
String
.String toXMLString(boolean includeNSPrefix, boolean declareNS) throws SAML2Exception
StatusCode
in an XML document String format
based on the StatusCode
schema described above.includeNSPrefix
- 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.StatusCode
.SAML2Exception
- if some error occurs during conversion to
String
.void makeImmutable()
boolean isMutable()
Copyright © 2010-2018, ForgeRock All Rights Reserved.