Class EvaluationContext

java.lang.Object
javax.el.ELContext
com.sun.el.lang.EvaluationContext

public final class EvaluationContext extends javax.el.ELContext
The context for EL expression evaluation. This wrapper ELContext captures the function mapper and the variable mapper at the point when the epxression is parsed, and only for those functions and variable used in the expression.
  • Constructor Details

    • EvaluationContext

      public EvaluationContext(javax.el.ELContext elContext, javax.el.FunctionMapper fnMapper, javax.el.VariableMapper varMapper)
  • Method Details

    • getELContext

      public javax.el.ELContext getELContext()
    • getFunctionMapper

      public javax.el.FunctionMapper getFunctionMapper()
      Specified by:
      getFunctionMapper in class javax.el.ELContext
    • getVariableMapper

      public javax.el.VariableMapper getVariableMapper()
      Specified by:
      getVariableMapper in class javax.el.ELContext
    • getContext

      public Object getContext(Class key)
      Overrides:
      getContext in class javax.el.ELContext
    • getELResolver

      public javax.el.ELResolver getELResolver()
      Specified by:
      getELResolver in class javax.el.ELContext
    • isPropertyResolved

      public boolean isPropertyResolved()
      Overrides:
      isPropertyResolved in class javax.el.ELContext
    • putContext

      public void putContext(Class key, Object contextObject)
      Overrides:
      putContext in class javax.el.ELContext
    • setPropertyResolved

      public void setPropertyResolved(boolean resolved)
      Overrides:
      setPropertyResolved in class javax.el.ELContext
    • setPropertyResolved

      public void setPropertyResolved(Object base, Object property)
      Overrides:
      setPropertyResolved in class javax.el.ELContext
    • addEvaluationListener

      public void addEvaluationListener(javax.el.EvaluationListener listener)
      Overrides:
      addEvaluationListener in class javax.el.ELContext
    • getEvaluationListeners

      public List<javax.el.EvaluationListener> getEvaluationListeners()
      Overrides:
      getEvaluationListeners in class javax.el.ELContext
    • notifyBeforeEvaluation

      public void notifyBeforeEvaluation(String expr)
      Overrides:
      notifyBeforeEvaluation in class javax.el.ELContext
    • notifyAfterEvaluation

      public void notifyAfterEvaluation(String expr)
      Overrides:
      notifyAfterEvaluation in class javax.el.ELContext
    • notifyPropertyResolved

      public void notifyPropertyResolved(Object base, Object property)
      Overrides:
      notifyPropertyResolved in class javax.el.ELContext
    • isLambdaArgument

      public boolean isLambdaArgument(String arg)
      Overrides:
      isLambdaArgument in class javax.el.ELContext
    • getLambdaArgument

      public Object getLambdaArgument(String arg)
      Overrides:
      getLambdaArgument in class javax.el.ELContext
    • enterLambdaScope

      public void enterLambdaScope(Map<String,Object> args)
      Overrides:
      enterLambdaScope in class javax.el.ELContext
    • exitLambdaScope

      public void exitLambdaScope()
      Overrides:
      exitLambdaScope in class javax.el.ELContext
    • convertToType

      public Object convertToType(Object obj, Class<?> targetType)
      Overrides:
      convertToType in class javax.el.ELContext
    • getImportHandler

      public javax.el.ImportHandler getImportHandler()
      Overrides:
      getImportHandler in class javax.el.ELContext