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

Method Summary
 java.lang.Object resolveVariable(java.lang.String pName)
          Deprecated. Resolves the specified variable.

Method Detail


java.lang.Object resolveVariable(java.lang.String pName)
                                 throws ELException
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

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.