FileDocCategorySizeDatePackage
VariableResolver.javaAPI DocGlassfish v2 API3230Sat May 05 19:17:28 BST 2007org.apache.taglibs.standard.lang.jstl

VariableResolver

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.

author
Nathan Abramson - Art Technology Group
version
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: tcfujii $

Fields Summary
Constructors Summary
Methods Summary
public java.lang.ObjectresolveVariable(java.lang.String pName, java.lang.Object pContext)
Resolves the specified variable within the given context. Returns null if the variable is not found.