Class ELContextImpl
java.lang.Object
jakarta.el.ELContext
org.apache.jasper.el.ELContextImpl
Implementation of ELContext.
-
Constructor Summary
ConstructorsConstructorDescriptionELContextImpl(ELResolver resolver) Create a new ELContextImpl with the given resolver.ELContextImpl(ExpressionFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionstatic ELResolvergetDefaultResolver(ExpressionFactory factory) Returns the ELResolver used to resolve properties and method invocations during expression evaluation.Returns the FunctionMapper used to resolve EL function names to Java methods during expression evaluation.Returns the VariableMapper used to resolve EL variable names toValueExpressioninstances during expression evaluation.voidsetFunctionMapper(FunctionMapper functionMapper) Set the function mapper.voidsetVariableMapper(VariableMapper variableMapper) Set the variable mapper.Methods inherited from class ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved
-
Constructor Details
-
ELContextImpl
-
ELContextImpl
Create a new ELContextImpl with the given resolver.- Parameters:
resolver- The EL resolver to use
-
-
Method Details
-
getELResolver
Description copied from class:jakarta.el.ELContextReturns the ELResolver used to resolve properties and method invocations during expression evaluation.- Specified by:
getELResolverin classELContext- Returns:
- the ELResolver for this context
-
getFunctionMapper
Description copied from class:jakarta.el.ELContextReturns the FunctionMapper used to resolve EL function names to Java methods during expression evaluation.- Specified by:
getFunctionMapperin classELContext- Returns:
- the FunctionMapper for this context
-
getVariableMapper
Description copied from class:jakarta.el.ELContextReturns the VariableMapper used to resolve EL variable names toValueExpressioninstances during expression evaluation.- Specified by:
getVariableMapperin classELContext- Returns:
- the VariableMapper for this context
-
setFunctionMapper
Set the function mapper.- Parameters:
functionMapper- The function mapper
-
setVariableMapper
Set the variable mapper.- Parameters:
variableMapper- The variable mapper
-
getDefaultResolver
-