Package com.sun.identity.xacml.context
Interface Status
- All Superinterfaces:
XmlSerializable
- All Known Implementing Classes:
StatusImpl
The
Status
element is a container of
one or more Status
s issuded by authorization authority.-
Method Summary
Modifier and TypeMethodDescriptionReturns theStatusCode
of this objectReturns theStatusDetail
of this objectReturns theStatusMessage
of this objectboolean
Checks if the object is mutablevoid
Makes the object immutablevoid
setStatusCode
(StatusCode statusCode) Sets theStatusCode
of this objectvoid
setStatusDetail
(StatusDetail statusDetail) Sets theStatusDetail
of this objectvoid
setStatusMessage
(StatusMessage statusMessage) Sets theStatusMessage
of this objectdefault String
Returns a string representationdefault String
toXMLString
(boolean includeNSPrefix, boolean declareNS) Returns a string representationMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
Method Details
-
getStatusCode
StatusCode getStatusCode()Returns theStatusCode
of this object- Returns:
- the
StatusCode
of this object
-
setStatusCode
Sets theStatusCode
of this object- Throws:
XACMLException
- if the object is immutable
-
getStatusMessage
StatusMessage getStatusMessage()Returns theStatusMessage
of this object- Returns:
- the
StatusMessage
of this object
-
setStatusMessage
Sets theStatusMessage
of this object- Throws:
XACMLException
- if the object is immutable
-
getStatusDetail
StatusDetail getStatusDetail()Returns theStatusDetail
of this object- Returns:
- the
StatusDetail
of this object
-
setStatusDetail
Sets theStatusDetail
of this object- Throws:
XACMLException
- if the object is immutable
-
toXMLString
Returns a string representation- Specified by:
toXMLString
in interfaceXmlSerializable
- Returns:
- a string representation
- Throws:
XACMLException
- if conversion fails for any reason
-
toXMLString
Returns a string representation- Specified by:
toXMLString
in interfaceXmlSerializable
- Parameters:
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.- Returns:
- a string representation
- Throws:
XACMLException
- if conversion fails for any reason
-
isMutable
boolean isMutable()Checks if the object is mutable- Returns:
true
if the object is mutable,false
otherwise
-
makeImmutable
void makeImmutable()Makes the object immutable
-