com.sun.identity.xacml.context
Interface Decision

All Known Implementing Classes:
DecisionImpl

public interface Decision

The Decision element is a container of one or more Decisions issued by policy decision point


Method Summary
 String getValue()
          Returns the values of this object
 boolean isMutable()
          Checks if the object is mutable
 void makeImmutable()
          Makes the object immutable
 void setValue(String value)
          Sets the values of this object
 String toXMLString()
          Returns a string representation
 String toXMLString(boolean includeNSPrefix, boolean declareNS)
          Returns a string representation
 

Method Detail

getValue

String getValue()
Returns the values of this object

Returns:
the values of this object

setValue

void setValue(String value)
              throws XACMLException
Sets the values 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 converted
declareNS - 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