public class ELContextWrapper
extends javax.el.ELContext
implements javax.faces.FacesWrapper<javax.el.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(javax.el.ELContext elContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getContext(Class key) |
javax.el.ELResolver |
getELResolver() |
javax.el.FunctionMapper |
getFunctionMapper() |
Locale |
getLocale() |
javax.el.VariableMapper |
getVariableMapper() |
javax.el.ELContext |
getWrapped() |
boolean |
isPropertyResolved() |
void |
putContext(Class key,
Object contextObject) |
void |
setLocale(Locale locale) |
void |
setPropertyResolved(boolean resolved) |
public ELContextWrapper()
public ELContextWrapper(javax.el.ELContext elContext)
public javax.el.ELContext getWrapped()
getWrapped in interface javax.faces.FacesWrapper<javax.el.ELContext>public void setPropertyResolved(boolean resolved)
setPropertyResolved in class javax.el.ELContextpublic boolean isPropertyResolved()
isPropertyResolved in class javax.el.ELContextpublic void putContext(Class key, Object contextObject)
putContext in class javax.el.ELContextpublic javax.el.ELResolver getELResolver()
getELResolver in class javax.el.ELContextpublic javax.el.FunctionMapper getFunctionMapper()
getFunctionMapper in class javax.el.ELContextpublic Locale getLocale()
getLocale in class javax.el.ELContextpublic void setLocale(Locale locale)
setLocale in class javax.el.ELContextpublic javax.el.VariableMapper getVariableMapper()
getVariableMapper in class javax.el.ELContextCopyright © 2012–2014 OmniFaces. All rights reserved.