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 TypeMethodDescriptionvoidcleanup()jakarta.el.ELContextjakarta.el.ELResolverjakarta.el.FunctionMapperjakarta.el.VariableMapperMethods 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:
getELResolverin classjakarta.el.ELContext
-
getELContext
public jakarta.el.ELContext getELContext() -
getVariableMapper
public jakarta.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapperin classjakarta.el.ELContext
-
getFunctionMapper
public jakarta.el.FunctionMapper getFunctionMapper()- Specified by:
getFunctionMapperin classjakarta.el.ELContext
-
cleanup
public void cleanup()
-