public class ELResolverWrapper extends ELResolver implements FacesWrapper<ELResolver>
Provides a simple implementation of ELResolver that can
be sub-classed by developers wishing to provide specialized behavior
to an existing ELResolver instance. The default
implementation of all methods is to call through to the wrapped
ELResolver.
Usage: extend this class and override getWrapped() to
return the instance we are wrapping, or provide this instance to the overloaded constructor.
RESOLVABLE_AT_DESIGN_TIME, TYPE| Constructor and Description |
|---|
ELResolverWrapper() |
ELResolverWrapper(ELResolver elResolver) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getCommonPropertyType(ELContext context,
Object base) |
Iterator<FeatureDescriptor> |
getFeatureDescriptors(ELContext context,
Object base) |
Class<?> |
getType(ELContext context,
Object base,
Object property) |
Object |
getValue(ELContext context,
Object base,
Object property) |
ELResolver |
getWrapped() |
Object |
invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params) |
boolean |
isReadOnly(ELContext context,
Object base,
Object property) |
void |
setValue(ELContext context,
Object base,
Object property,
Object value) |
public ELResolverWrapper()
public ELResolverWrapper(ELResolver elResolver)
public ELResolver getWrapped()
getWrapped in interface FacesWrapper<ELResolver>public Object getValue(ELContext context, Object base, Object property)
getValue in class ELResolverpublic Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
invoke in class ELResolverpublic Class<?> getType(ELContext context, Object base, Object property)
getType in class ELResolverpublic void setValue(ELContext context, Object base, Object property, Object value)
setValue in class ELResolverpublic boolean isReadOnly(ELContext context, Object base, Object property)
isReadOnly in class ELResolverpublic Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
getFeatureDescriptors in class ELResolverpublic Class<?> getCommonPropertyType(ELContext context, Object base)
getCommonPropertyType in class ELResolver