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 ELContext
public boolean isPropertyResolved()
isPropertyResolved
in class ELContext
public void putContext(Class key, Object contextObject)
putContext
in class ELContext
public Object getContext(Class key)
getContext
in class ELContext
public ELResolver getELResolver()
getELResolver
in class ELContext
public FunctionMapper getFunctionMapper()
getFunctionMapper
in class ELContext
public VariableMapper getVariableMapper()
getVariableMapper
in class ELContext
Copyright © 2012–2015 OmniFaces. All rights reserved.