|
SunTM's XACML Implementation for JavaTM | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Generic interface that is implemented by all objects that can appear in
an ApplyType. This lets the evaluation code of Apply
and
functions iterate through their members and evaluate them, working only
on the returned values or errors.
Method Summary | |
void |
encode(OutputStream output)
Encodes this Evaluatable into its XML representation and
writes this encoding to the given OutputStream with no
indentation. |
void |
encode(OutputStream output,
Indenter indenter)
Encodes this Evaluatable into its XML representation and
writes this encoding to the given OutputStream with
indentation. |
EvaluationResult |
evaluate(EvaluationCtx context)
Evaluates the object using the given context, and either returns an error or a resulting value. |
boolean |
evaluatesToBag()
Tells whether evaluation will return a bag or a single value. |
List |
getChildren()
Returns all children, in order, of this element in the Condition tree, or en empty set if this element has no children. |
URI |
getType()
Get the type of this object. |
Method Detail |
public EvaluationResult evaluate(EvaluationCtx context)
context
- the representation of the request
public URI getType()
Attribute
or the return type of an
AttributeDesignator
, etc.
public boolean evaluatesToBag()
public List getChildren()
List
of Evaluatable
spublic void encode(OutputStream output)
Evaluatable
into its XML representation and
writes this encoding to the given OutputStream
with no
indentation.
output
- a stream into which the XML-encoded data is writtenpublic void encode(OutputStream output, Indenter indenter)
Evaluatable
into its XML representation and
writes this encoding to the given OutputStream
with
indentation.
output
- a stream into which the XML-encoded data is writtenindenter
- an object that creates indentation strings
|
Sun's XACML Implementation Version 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun, Sun Microsystems, the Sun Logo, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.