|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.expression.ScopedResolver
public class ScopedResolver
An IStringEvaluator that supports a list of other resolvers that are
each asked in turn for evaluating the result.
| Constructor Summary | |
|---|---|
ScopedResolver()
|
|
| Method Summary | |
|---|---|
void |
addResolver(IStringEvaluator resolver)
Add a new resolver at the end of the search sequence. |
Object |
evaluate(String expression,
IArgs args)
Evaluate an expression according to the syntax used by the
implementor and return the result. |
IStringEvaluator |
popResolver()
|
void |
pushResolver(IStringEvaluator resolver)
Add a new resolver at the beginning of the search sequence. |
void |
removeResolver(IStringEvaluator resolver)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScopedResolver()
| Method Detail |
|---|
public void addResolver(IStringEvaluator resolver)
resolver -
public Object evaluate(String expression,
IArgs args)
throws EvaluationException
IStringEvaluatorexpression according to the syntax used by the
implementor and return the result.
evaluate in interface IStringEvaluatorexpression - The expression to evaluate.
EvaluationException - If we encounter a compile or runtime error.public IStringEvaluator popResolver()
public void pushResolver(IStringEvaluator resolver)
resolver - public void removeResolver(IStringEvaluator resolver)
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||