Class VariableResolverImpl

  • All Implemented Interfaces:
    javax.servlet.jsp.el.VariableResolver

    public class VariableResolverImpl
    extends java.lang.Object
    implements javax.servlet.jsp.el.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 javax.servlet.jsp.PageContext pageContext  
    • Constructor Summary

      Constructors 
      Constructor Description
      VariableResolverImpl​(javax.servlet.jsp.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pageContext

        private javax.servlet.jsp.PageContext pageContext
    • Constructor Detail

      • VariableResolverImpl

        public VariableResolverImpl​(javax.servlet.jsp.PageContext pageContext)
        Constructor
    • Method Detail

      • resolveVariable

        public java.lang.Object resolveVariable​(java.lang.String pName)
                                         throws javax.servlet.jsp.el.ELException
        Resolves the specified variable within the given context. Returns null if the variable is not found.
        Specified by:
        resolveVariable in interface javax.servlet.jsp.el.VariableResolver
        Throws:
        javax.servlet.jsp.el.ELException