Class SimpleContext

java.lang.Object
jakarta.el.ELContext
org.camunda.bpm.impl.juel.SimpleContext

public class SimpleContext extends jakarta.el.ELContext
Simple context implementation.
Author:
Christoph Beck
  • Constructor Summary

    Constructors
    Constructor
    Description
    Create a context.
    SimpleContext(jakarta.el.ELResolver resolver)
    Create a context, use the specified resolver.
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.el.ELResolver
    Get our resolver.
    jakarta.el.FunctionMapper
    Get our function mapper.
    jakarta.el.VariableMapper
    Get our variable mapper.
    void
    setELResolver(jakarta.el.ELResolver resolver)
    Set our resolver.
    void
    setFunction(String prefix, String localName, Method method)
    Define a function.
    jakarta.el.ValueExpression
    setVariable(String name, jakarta.el.ValueExpression expression)
    Define a variable.

    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

    • SimpleContext

      public SimpleContext()
      Create a context.
    • SimpleContext

      public SimpleContext(jakarta.el.ELResolver resolver)
      Create a context, use the specified resolver.
  • Method Details

    • setFunction

      public void setFunction(String prefix, String localName, Method method)
      Define a function.
    • setVariable

      public jakarta.el.ValueExpression setVariable(String name, jakarta.el.ValueExpression expression)
      Define a variable.
    • getFunctionMapper

      public jakarta.el.FunctionMapper getFunctionMapper()
      Get our function mapper.
      Specified by:
      getFunctionMapper in class jakarta.el.ELContext
    • getVariableMapper

      public jakarta.el.VariableMapper getVariableMapper()
      Get our variable mapper.
      Specified by:
      getVariableMapper in class jakarta.el.ELContext
    • getELResolver

      public jakarta.el.ELResolver getELResolver()
      Get our resolver. Lazy initialize to a SimpleResolver if necessary.
      Specified by:
      getELResolver in class jakarta.el.ELContext
    • setELResolver

      public void setELResolver(jakarta.el.ELResolver resolver)
      Set our resolver.
      Parameters:
      resolver -