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 Statuss issuded by authorization authority.-
Method Summary
Modifier and TypeMethodDescriptionReturns theStatusCodeof this objectReturns theStatusDetailof this objectReturns theStatusMessageof this objectbooleanChecks if the object is mutablevoidMakes the object immutablevoidsetStatusCode(StatusCode statusCode) Sets theStatusCodeof this objectvoidsetStatusDetail(StatusDetail statusDetail) Sets theStatusDetailof this objectvoidsetStatusMessage(StatusMessage statusMessage) Sets theStatusMessageof this objectdefault StringReturns a string representationdefault StringtoXMLString(boolean includeNSPrefix, boolean declareNS) Returns a string representationMethods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment
-
Method Details
-
getStatusCode
StatusCode getStatusCode()Returns theStatusCodeof this object- Returns:
- the
StatusCodeof this object
-
setStatusCode
Sets theStatusCodeof this object- Throws:
XACMLException- if the object is immutable
-
getStatusMessage
StatusMessage getStatusMessage()Returns theStatusMessageof this object- Returns:
- the
StatusMessageof this object
-
setStatusMessage
Sets theStatusMessageof this object- Throws:
XACMLException- if the object is immutable
-
getStatusDetail
StatusDetail getStatusDetail()Returns theStatusDetailof this object- Returns:
- the
StatusDetailof this object
-
setStatusDetail
Sets theStatusDetailof this object- Throws:
XACMLException- if the object is immutable
-
toXMLString
Returns a string representation- Specified by:
toXMLStringin interfaceXmlSerializable- Returns:
- a string representation
- Throws:
XACMLException- if conversion fails for any reason
-
toXMLString
Returns a string representation- Specified by:
toXMLStringin 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:
trueif the object is mutable,falseotherwise
-
makeImmutable
void makeImmutable()Makes the object immutable
-