Package com.sun.identity.xacml.context
Interface Response
- All Superinterfaces:
XmlSerializable
The
Response element is a container of
one or more Results issued by policy decision point-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds aResultto this objectReturns theResults of this objectbooleanChecks if the object is mutablevoidMakes the object immutablevoidsetResults(List results) Sets theResults of 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
-
getResults
List getResults()Returns theResults of this object- Returns:
- the
Results of this object
-
addResult
Adds aResultto this object- Parameters:
result- theResultto add- Throws:
XACMLException- if the object is immutable
-
setResults
Sets theResults of this object- Parameters:
results- theResults of 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
-