Package com.sun.identity.xacml.context
Interface Response
-
@SupportedAll public interface Response
TheResponse
element is a container of one or moreResult
s issued by policy decision point
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addResult(Result result)
Adds aResult
to this objectList
getResults()
Returns theResult
s of this objectboolean
isMutable()
Checks if the object is mutablevoid
makeImmutable()
Makes the object immutablevoid
setResults(List results)
Sets theResult
s of this objectString
toXMLString()
Returns a string representation of this objectString
toXMLString(boolean includeNSPrefix, boolean declareNS)
Returns a string representation of this object
-
-
-
Method Detail
-
getResults
List getResults()
Returns theResult
s of this object- Returns:
- the
Result
s of this object
-
addResult
void addResult(Result result) throws XACMLException
Adds aResult
to this object- Parameters:
result
- theResult
to add- Throws:
XACMLException
- if the object is immutable
-
setResults
void setResults(List results) throws XACMLException
Sets theResult
s of this object- Parameters:
results
- theResult
s of this object- Throws:
XACMLException
- if the object is immutable
-
toXMLString
String toXMLString() throws XACMLException
Returns a string representation of this object- Returns:
- a string representation of this object
- Throws:
XACMLException
- if conversion fails for any reason
-
toXMLString
String toXMLString(boolean includeNSPrefix, boolean declareNS) throws XACMLException
Returns a string representation of this object- 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 of this object
- 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
-
-