Package com.sun.identity.xacml.context
Interface Status
-
- All Known Implementing Classes:
StatusImpl
@SupportedAll public interface Status
TheStatus
element is a container of one or moreStatus
s issuded by authorization authority.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatusCode
getStatusCode()
Returns theStatusCode
of this objectStatusDetail
getStatusDetail()
Returns theStatusDetail
of this objectStatusMessage
getStatusMessage()
Returns theStatusMessage
of this objectboolean
isMutable()
Checks if the object is mutablevoid
makeImmutable()
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 objectString
toXMLString()
Returns a string representationString
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representation
-
-
-
Method Detail
-
getStatusCode
StatusCode getStatusCode()
Returns theStatusCode
of this object- Returns:
- the
StatusCode
of this object
-
setStatusCode
void setStatusCode(StatusCode statusCode) throws XACMLException
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
void setStatusMessage(StatusMessage statusMessage) throws XACMLException
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
void setStatusDetail(StatusDetail statusDetail) throws XACMLException
Sets theStatusDetail
of this object- Throws:
XACMLException
- if the object is immutable
-
toXMLString
String toXMLString() throws XACMLException
Returns a string representation- Returns:
- a string representation
- Throws:
XACMLException
- if conversion fails for any reason
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
Returns a string representation- 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
-
-