public interface VariableResolver
This class is used to customize the way an ExpressionEvaluator resolves variable references at evaluation time. For example, instances of this class can implement their own variable lookup mechanisms, or introduce the notion of "implicit variables" which override any other variables. An instance of this class should be passed when evaluating an expression.
An instance of this class includes the context against which resolution will happen
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
resolveVariable(java.lang.String pName)
Deprecated.
Resolves the specified variable.
|
java.lang.Object resolveVariable(java.lang.String pName) throws ELException
pName
- the name of the variable to resolveELException
- if a failure occurred while trying to resolve the given
variableCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.