Package com.sun.identity.xacml.context
Interface Response
-
- All Known Implementing Classes:
ResponseImpl
public interface ResponseTheResponseelement is a container of one or moreResults issued by policy decision pointschema: <xs:complexType name="ResponseType"> <xs:sequence> <xs:element ref="xacml-context:Result" maxOccurs="unbounded"/> <xs:sequence> <xs:complexType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddResult(Result result)Adds aResultto this objectListgetResults()Returns theResults of this objectbooleanisMutable()Checks if the object is mutablevoidmakeImmutable()Makes the object immutablevoidsetResults(List results)Sets theResults of this objectStringtoXMLString()Returns a string representation of this objectStringtoXMLString(boolean includeNSPrefix, boolean declareNS)Returns a string representation of this object
-
-
-
Method Detail
-
getResults
List getResults()
Returns theResults of this object- Returns:
- the
Results of this object
-
addResult
void addResult(Result result) throws XACMLException
Adds aResultto this object- Parameters:
result- theResultto add- Throws:
XACMLException- if the object is immutable
-
setResults
void setResults(List results) throws XACMLException
Sets theResults of this object- Parameters:
results- theResults 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:
trueif the object is mutable,falseotherwise
-
makeImmutable
void makeImmutable()
Makes the object immutable
-
-