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