|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VariableResolver
This class is used to customize the way the evaluator resolves variable references. 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 to the evaluator's constructor.
Whenever the evaluator is invoked, it is passed a "context" Object from the application. For example, in a JSP environment, the "context" is a PageContext. That context object is eventually passed to this class, so that this class has a context in which to resolve variables.
Method Summary | |
---|---|
Object |
resolveVariable(String pName,
Object pContext)
Resolves the specified variable within the given context. |
Method Detail |
---|
Object resolveVariable(String pName, Object pContext) throws ELException
ELException
|
JavaServer Pages(TM) Standard Tag Library 1.2 API 1.0.3.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |