Class ELContextDecorator
java.lang.Object
jakarta.el.ELContext
org.apache.myfaces.core.api.shared.ELContextDecorator
public class ELContextDecorator
extends jakarta.el.ELContext
This ELContext is used to hook into the EL handling, by decorating the
ELResolver chain with a custom ELResolver.
-
Constructor Summary
ConstructorsConstructorDescriptionELContextDecorator
(jakarta.el.ELContext elContext, jakarta.el.ELResolver interceptingResolver) Only used by ValueExpressionResolver. -
Method Summary
Modifier and TypeMethodDescriptiongetContext
(Class key) jakarta.el.ELResolver
This is the important one, it returns the passed ELResolver.jakarta.el.FunctionMapper
jakarta.el.VariableMapper
boolean
void
putContext
(Class key, Object contextObject) void
void
setPropertyResolved
(boolean resolved) Methods inherited from class jakarta.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, isLambdaArgument, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setPropertyResolved
-
Constructor Details
-
ELContextDecorator
public ELContextDecorator(jakarta.el.ELContext elContext, jakarta.el.ELResolver interceptingResolver) Only used by ValueExpressionResolver.- Parameters:
elContext
- The standard ELContext. All method calls, except getELResolver, are delegated to it.interceptingResolver
- The ELResolver to be returned by getELResolver.
-
-
Method Details
-
getELResolver
public jakarta.el.ELResolver getELResolver()This is the important one, it returns the passed ELResolver.- Specified by:
getELResolver
in classjakarta.el.ELContext
- Returns:
- The ELResolver passed into the constructor.
-
getFunctionMapper
public jakarta.el.FunctionMapper getFunctionMapper()- Specified by:
getFunctionMapper
in classjakarta.el.ELContext
-
getVariableMapper
public jakarta.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapper
in classjakarta.el.ELContext
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolved
in classjakarta.el.ELContext
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolved
in classjakarta.el.ELContext
-
putContext
- Overrides:
putContext
in classjakarta.el.ELContext
-
getContext
- Overrides:
getContext
in classjakarta.el.ELContext
-
getLocale
- Overrides:
getLocale
in classjakarta.el.ELContext
-
setLocale
- Overrides:
setLocale
in classjakarta.el.ELContext
-