Class VariableMapperImpl


  • public class VariableMapperImpl
    extends javax.el.VariableMapper

    This is the implementation of VariableMapper. The compiler creates an empty variable mapper when an ELContext is created. The variable mapper will be updated by tag handlers, if necessary.

    Version:
    $Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author: kchung $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.HashMap<java.lang.String,​javax.el.ValueExpression> map  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.el.ValueExpression resolveVariable​(java.lang.String variable)
      Resolves the specified variable within the given context.
      javax.el.ValueExpression setVariable​(java.lang.String variable, javax.el.ValueExpression expression)  
      • Methods inherited from class java.lang.Object

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

      • map

        private java.util.HashMap<java.lang.String,​javax.el.ValueExpression> map
    • Constructor Detail

      • VariableMapperImpl

        public VariableMapperImpl()
        Constructor
    • Method Detail

      • resolveVariable

        public javax.el.ValueExpression resolveVariable​(java.lang.String variable)
        Resolves the specified variable within the given context. Returns null if the variable is not found.
        Specified by:
        resolveVariable in class javax.el.VariableMapper
      • setVariable

        public javax.el.ValueExpression setVariable​(java.lang.String variable,
                                                    javax.el.ValueExpression expression)
        Specified by:
        setVariable in class javax.el.VariableMapper