Package org.apache.jasper.runtime
Class VariableResolverImpl
- java.lang.Object
-
- org.apache.jasper.runtime.VariableResolverImpl
-
- All Implemented Interfaces:
VariableResolver
public class VariableResolverImpl extends java.lang.Object implements VariableResolver
This is the implementation of VariableResolver in JSP 2.0, using ELResolver in JSP2.1. It looks up variable references in the PageContext, and also recognizes references to implicit objects.
- Version:
- $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
-
-
Field Summary
Fields Modifier and Type Field Description private PageContext
pageContext
-
Constructor Summary
Constructors Constructor Description VariableResolverImpl(PageContext pageContext)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
resolveVariable(java.lang.String pName)
Resolves the specified variable within the given context.
-
-
-
Field Detail
-
pageContext
private PageContext pageContext
-
-
Constructor Detail
-
VariableResolverImpl
public VariableResolverImpl(PageContext pageContext)
Constructor
-
-
Method Detail
-
resolveVariable
public java.lang.Object resolveVariable(java.lang.String pName) throws ELException
Resolves the specified variable within the given context. Returns null if the variable is not found.- Specified by:
resolveVariable
in interfaceVariableResolver
- Parameters:
pName
- the name of the variable to resolve- Returns:
- the result of the variable resolution
- Throws:
ELException
- if a failure occurred while trying to resolve the given variable
-
-