Class ELContextDecorator
- java.lang.Object
- 
- jakarta.el.ELContext
- 
- org.apache.myfaces.core.api.shared.ELContextDecorator
 
 
- 
 public class ELContextDecorator extends jakarta.el.ELContextThis ELContext is used to hook into the EL handling, by decorating the ELResolver chain with a custom ELResolver.
- 
- 
Constructor SummaryConstructors Constructor Description ELContextDecorator(jakarta.el.ELContext elContext, jakarta.el.ELResolver interceptingResolver)Only used by ValueExpressionResolver.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetContext(Class key)jakarta.el.ELResolvergetELResolver()This is the important one, it returns the passed ELResolver.jakarta.el.FunctionMappergetFunctionMapper()LocalegetLocale()jakarta.el.VariableMappergetVariableMapper()booleanisPropertyResolved()voidputContext(Class key, Object contextObject)voidsetLocale(Locale locale)voidsetPropertyResolved(boolean resolved)
 
- 
- 
- 
Constructor Detail- 
ELContextDecoratorpublic 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 Detail- 
getELResolverpublic jakarta.el.ELResolver getELResolver() This is the important one, it returns the passed ELResolver.- Specified by:
- getELResolverin class- jakarta.el.ELContext
- Returns:
- The ELResolver passed into the constructor.
 
 - 
getFunctionMapperpublic jakarta.el.FunctionMapper getFunctionMapper() - Specified by:
- getFunctionMapperin class- jakarta.el.ELContext
 
 - 
getVariableMapperpublic jakarta.el.VariableMapper getVariableMapper() - Specified by:
- getVariableMapperin class- jakarta.el.ELContext
 
 - 
setPropertyResolvedpublic void setPropertyResolved(boolean resolved) - Overrides:
- setPropertyResolvedin class- jakarta.el.ELContext
 
 - 
isPropertyResolvedpublic boolean isPropertyResolved() - Overrides:
- isPropertyResolvedin class- jakarta.el.ELContext
 
 - 
putContextpublic void putContext(Class key, Object contextObject) - Overrides:
- putContextin class- jakarta.el.ELContext
 
 - 
getLocalepublic Locale getLocale() - Overrides:
- getLocalein class- jakarta.el.ELContext
 
 - 
setLocalepublic void setLocale(Locale locale) - Overrides:
- setLocalein class- jakarta.el.ELContext
 
 
- 
 
-