Class 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 Detail

      • EvaluationContext

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

      • 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 java.lang.Object getContext​(java.lang.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​(java.lang.Class key,
                               java.lang.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​(java.lang.Object base,
                                        java.lang.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 java.util.List<javax.el.EvaluationListener> getEvaluationListeners()
        Overrides:
        getEvaluationListeners in class javax.el.ELContext
      • notifyBeforeEvaluation

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

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

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

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

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

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

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

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

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