Package com.sun.identity.xacml.context
Interface Response
- All Superinterfaces:
XmlSerializable
The
Response
element is a container of
one or more Result
s issued by policy decision point-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds aResult
to this objectReturns theResult
s of this objectboolean
Checks if the object is mutablevoid
Makes the object immutablevoid
setResults
(List results) Sets theResult
s 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
-
getResults
List getResults()Returns theResult
s of this object- Returns:
- the
Result
s of this object
-
addResult
Adds aResult
to this object- Parameters:
result
- theResult
to add- Throws:
XACMLException
- if the object is immutable
-
setResults
Sets theResult
s of this object- Parameters:
results
- theResult
s 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
-