|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object issrg.akentipermis.TimeInterpreter
public class TimeInterpreter
Constructor Summary | |
---|---|
protected |
TimeInterpreter(int mode)
|
Method Summary | |
---|---|
java.lang.String |
canEvaluate(Term[] t)
This method returns the string type of the result of evaluating the given set of Terms, or null, if the expression cannot be evaluated by this interpreter. |
java.lang.Object |
evaluate(Environment env,
Term[] t)
This method evaluates the expression given the environment. |
static void |
register()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TimeInterpreter(int mode)
Method Detail |
---|
public static void register()
public java.lang.String canEvaluate(Term[] t)
Interpreter
canEvaluate
in interface Interpreter
t
- - the array of Terms; can be null and can be empty
public java.lang.Object evaluate(Environment env, Term[] t) throws EvaluationException
Interpreter
evaluate
in interface Interpreter
env
- - the Environment with variables used in IF-statementt
- - the sequence of Terms in the order that they appear in the
policy; can be null or an empty array
EvaluationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |