Class ELContextImpl

java.lang.Object
jakarta.el.ELContext
org.apache.jasper.el.ELContextImpl

public class ELContextImpl extends ELContext
Implementation of ELContext.
  • Constructor Details

    • ELContextImpl

      public ELContextImpl()
      Create a new ELContextImpl with the default resolver.
    • ELContextImpl

      public ELContextImpl(ELResolver resolver)
      Create a new ELContextImpl with the given resolver.
      Parameters:
      resolver - The EL resolver to use
  • Method Details

    • getELResolver

      public ELResolver getELResolver()
      Description copied from class: jakarta.el.ELContext
      Returns the ELResolver used to resolve properties and method invocations during expression evaluation.
      Specified by:
      getELResolver in class ELContext
      Returns:
      the ELResolver for this context
    • getFunctionMapper

      public FunctionMapper getFunctionMapper()
      Description copied from class: jakarta.el.ELContext
      Returns the FunctionMapper used to resolve EL function names to Java methods during expression evaluation.
      Specified by:
      getFunctionMapper in class ELContext
      Returns:
      the FunctionMapper for this context
    • getVariableMapper

      public VariableMapper getVariableMapper()
      Description copied from class: jakarta.el.ELContext
      Returns the VariableMapper used to resolve EL variable names to ValueExpression instances during expression evaluation.
      Specified by:
      getVariableMapper in class ELContext
      Returns:
      the VariableMapper for this context
    • setFunctionMapper

      public void setFunctionMapper(FunctionMapper functionMapper)
      Set the function mapper.
      Parameters:
      functionMapper - The function mapper
    • setVariableMapper

      public void setVariableMapper(VariableMapper variableMapper)
      Set the variable mapper.
      Parameters:
      variableMapper - The variable mapper
    • getDefaultResolver

      public static ELResolver getDefaultResolver()
      Get the default EL resolver.
      Returns:
      The default EL resolver