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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanup()
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
-
Constructor Details
-
SimpleELContext
public SimpleELContext() -
SimpleELContext
-
-
Method Details
-
getELResolver
public jakarta.el.ELResolver getELResolver()- Specified by:
getELResolver
in classjakarta.el.ELContext
-
getELContext
public jakarta.el.ELContext getELContext() -
getVariableMapper
public jakarta.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapper
in classjakarta.el.ELContext
-
getFunctionMapper
public jakarta.el.FunctionMapper getFunctionMapper()- Specified by:
getFunctionMapper
in classjakarta.el.ELContext
-
cleanup
public void cleanup()
-