|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
Method Summary | |
java.lang.Object |
resolveVariable(java.lang.String pName,
java.lang.Object pContext)
Resolves the specified variable. |
Method Detail |
public java.lang.Object resolveVariable(java.lang.String pName, java.lang.Object pContext) throws ELException
pName
- the name of the variable to resolvepContext
- the context in which the variable is being resolved.
The actual instance varies depending on the environment in which
the Expression Evaluator is used. For example, in a JSP context,
the context would normally be an instance of JspContext.
ELException
- if a failure occurred while trying to resolve
the given variable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |