java.lang.Object
jakarta.el.ELContext
com.sun.faces.el.ELContextImpl
-
Constructor Summary
ConstructorDescriptionELContextImpl
(ELResolver resolver) Constructs a new ELContext associated with the given ELResolver.ELContextImpl
(FacesContext facesContext) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves theELResolver
associated with this context.Retrieves theFunctionMapper
associated with thisELContext
.Retrieves theVariableMapper
associated with thisELContext
.void
setFunctionMapper
(FunctionMapper functionMapper) 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
-
ELContextImpl
Constructs a new ELContext associated with the given ELResolver.- Parameters:
resolver
- the ELResolver to return fromgetELResolver()
-
ELContextImpl
-
-
Method Details
-
getFunctionMapper
Description copied from class:ELContext
Retrieves theFunctionMapper
associated with thisELContext
.- Specified by:
getFunctionMapper
in classELContext
- Returns:
- The function mapper to be consulted for the resolution of Jakarta Expression Language functions.
-
getVariableMapper
Description copied from class:ELContext
Retrieves theVariableMapper
associated with thisELContext
.- Specified by:
getVariableMapper
in classELContext
- Returns:
- The variable mapper to be consulted for the resolution of Jakarta Expression Language variables.
-
getELResolver
Description copied from class:ELContext
Retrieves theELResolver
associated with this context.The
ELContext
maintains a reference to theELResolver
that will be consulted to resolve variables and properties during an expression evaluation. This method retrieves the reference to the resolver.Once an
ELContext
is constructed, the reference to theELResolver
associated with the context cannot be changed.- Specified by:
getELResolver
in classELContext
- Returns:
- The resolver to be consulted for variable and property resolution during expression evaluation.
-
setFunctionMapper
-