VariableResolver (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.servlet.jsp.el Interface VariableResolver


Deprecated. As of JSP 2.1, replaced by ELResolver

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

从以下版本开始:
JSP 2.0

方法摘要
 Object resolveVariable(String pName)
          Deprecated. Resolves the specified variable.
 

方法详细信息

resolveVariable

Object resolveVariable(String pName)
                       throws ELException
Deprecated. 
Resolves the specified variable. Returns null if the variable is not found.

参数:
pName - the name of the variable to resolve
返回:
the result of the variable resolution
抛出异常:
ELException - if a failure occurred while trying to resolve the given variable

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.