public class ConstantResolver extends Object implements IStringEvaluator
This is a practical tool if you want to adapt different string resolving components to provide the same expression set.
public ConstantResolver(Object value)
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.Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.