de.intarsys.tools.expression
Class EchoResolver
java.lang.Object
de.intarsys.tools.expression.EchoResolver
- All Implemented Interfaces:
- IStringEvaluator
public class EchoResolver
- extends Object
- implements IStringEvaluator
Resolve an expression to the expression itself
This is a practical tool if you want to adapt different string resolving
components to provide the same expression set.
|
Method Summary |
Object |
evaluate(String expression,
IArgs args)
Evaluate an expression according to the syntax used by the
implementor and return the result. |
EchoResolver
public EchoResolver()
EchoResolver
public EchoResolver(String prefix,
String suffix)
evaluate
public Object evaluate(String expression,
IArgs args)
throws EvaluationException
- Description copied from interface:
IStringEvaluator
- Evaluate an
expression according to the syntax used by the
implementor and return the result.
- Specified by:
evaluate in interface IStringEvaluator
- Parameters:
expression - The expression to evaluate.
- Returns:
- The result object.
- Throws:
EvaluationException - If we encounter a compile or runtime error.
Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.