Package org.apache.jasper.el
Class ELContextImpl
- java.lang.Object
-
- jakarta.el.ELContext
-
- org.apache.jasper.el.ELContextImpl
-
public class ELContextImpl extends ELContext
Implementation of ELContext.
-
-
Constructor Summary
Constructors Constructor Description ELContextImpl(ELResolver resolver)Create a new ELContextImpl with the given resolver.ELContextImpl(ExpressionFactory factory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ELResolvergetDefaultResolver(ExpressionFactory factory)ELResolvergetELResolver()Returns the ELResolver used to resolve properties and method invocations during expression evaluation.FunctionMappergetFunctionMapper()Returns the FunctionMapper used to resolve EL function names to Java methods during expression evaluation.VariableMappergetVariableMapper()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 jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getContext, getEvaluationListeners, getImportHandler, getLambdaArgument, getLocale, isLambdaArgument, isPropertyResolved, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, putContext, setLocale, setPropertyResolved, setPropertyResolved
-
-
-
-
Constructor Detail
-
ELContextImpl
public ELContextImpl(ExpressionFactory factory)
-
ELContextImpl
public ELContextImpl(ELResolver resolver)
Create a new ELContextImpl with the given resolver.- Parameters:
resolver- The EL resolver to use
-
-
Method Detail
-
getELResolver
public ELResolver 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
public FunctionMapper 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
public VariableMapper 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
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(ExpressionFactory factory)
-
-