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.ELResolverThis is the important one, it returns the passed ELResolver.jakarta.el.FunctionMapperjakarta.el.VariableMapperbooleanvoidputContext(Class key, Object contextObject) voidvoidsetPropertyResolved(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:
getELResolverin classjakarta.el.ELContext- Returns:
- The ELResolver passed into the constructor.
-
getFunctionMapper
public jakarta.el.FunctionMapper getFunctionMapper()- Specified by:
getFunctionMapperin classjakarta.el.ELContext
-
getVariableMapper
public jakarta.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapperin classjakarta.el.ELContext
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolvedin classjakarta.el.ELContext
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolvedin classjakarta.el.ELContext
-
putContext
- Overrides:
putContextin classjakarta.el.ELContext
-
getContext
- Overrides:
getContextin classjakarta.el.ELContext
-
getLocale
- Overrides:
getLocalein classjakarta.el.ELContext
-
setLocale
- Overrides:
setLocalein classjakarta.el.ELContext
-