public class ELContextWrapper extends ELContext implements FacesWrapper<ELContext>
Provides a simple implementation of ELContext that can
be sub-classed by developers wishing to provide specialized behavior
to an existing ELContext instance. The default
implementation of all methods is to call through to the wrapped
ViewHandler.
Usage: extend this class and override getWrapped() to
return the instance we are wrapping, or provide this instance to the overloaded constructor.
| Constructor and Description |
|---|
ELContextWrapper() |
ELContextWrapper(ELContext elContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContext(Class key) |
ELResolver |
getELResolver() |
FunctionMapper |
getFunctionMapper() |
Locale |
getLocale() |
VariableMapper |
getVariableMapper() |
ELContext |
getWrapped() |
boolean |
isPropertyResolved() |
void |
putContext(Class key,
Object contextObject) |
void |
setLocale(Locale locale) |
void |
setPropertyResolved(boolean resolved) |
public ELContextWrapper()
public ELContextWrapper(ELContext elContext)
public ELContext getWrapped()
getWrapped in interface FacesWrapper<ELContext>public void setPropertyResolved(boolean resolved)
setPropertyResolved in class ELContextpublic boolean isPropertyResolved()
isPropertyResolved in class ELContextpublic void putContext(Class key, Object contextObject)
putContext in class ELContextpublic Object getContext(Class key)
getContext in class ELContextpublic ELResolver getELResolver()
getELResolver in class ELContextpublic FunctionMapper getFunctionMapper()
getFunctionMapper in class ELContextpublic VariableMapper getVariableMapper()
getVariableMapper in class ELContext