Class SimpleELContext

java.lang.Object
jakarta.el.ELContext
com.sun.ts.tests.el.common.elcontext.SimpleELContext

public class SimpleELContext extends jakarta.el.ELContext
A basic ELContext that meets the needs of most EL tests. The no-args constructor builds the ELContext from a VariableELResolver that enables the setting and resolution of variables when base is null. The single- argument constructor allows the user to build the ELContext from any ELResolver. This ELContext is "simple" because no VariableMapper or FunctionMapper are used.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    jakarta.el.ELContext
     
    jakarta.el.ELResolver
     
    jakarta.el.FunctionMapper
     
    jakarta.el.VariableMapper
     

    Methods inherited from class jakarta.el.ELContext

    addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SimpleELContext

      public SimpleELContext()
    • SimpleELContext

      public SimpleELContext(ResolverType resolverType)
  • Method Details

    • getELResolver

      public jakarta.el.ELResolver getELResolver()
      Specified by:
      getELResolver in class jakarta.el.ELContext
    • getELContext

      public jakarta.el.ELContext getELContext()
    • getVariableMapper

      public jakarta.el.VariableMapper getVariableMapper()
      Specified by:
      getVariableMapper in class jakarta.el.ELContext
    • getFunctionMapper

      public jakarta.el.FunctionMapper getFunctionMapper()
      Specified by:
      getFunctionMapper in class jakarta.el.ELContext
    • cleanup

      public void cleanup()