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 ELResolver
public Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
invoke
in class ELResolver
public Class<?> getType(ELContext context, Object base, Object property)
getType
in class ELResolver
public void setValue(ELContext context, Object base, Object property, Object value)
setValue
in class ELResolver
public boolean isReadOnly(ELContext context, Object base, Object property)
isReadOnly
in class ELResolver
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
getFeatureDescriptors
in class ELResolver
public Class<?> getCommonPropertyType(ELContext context, Object base)
getCommonPropertyType
in class ELResolver
Copyright © 2012–2018 OmniFaces. All rights reserved.