- java.lang.Object
-
- jakarta.el.ELResolver
-
- org.omnifaces.el.ELResolverWrapper
-
- All Implemented Interfaces:
FacesWrapper<ELResolver>
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 existingELResolver
instance. The default implementation of all methods is to call through to the wrappedELResolver
.Usage: extend this class and provide the instance we are wrapping to the overloaded constructor.
- Author:
- Arjan Tijms
-
-
Field Summary
-
Fields inherited from class jakarta.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
-
-
Constructor Summary
Constructors Constructor Description ELResolverWrapper(ELResolver wrapped)
Construct EL resolver wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class jakarta.el.ELResolver
convertToType
-
-
-
-
Constructor Detail
-
ELResolverWrapper
public ELResolverWrapper(ELResolver wrapped)
Construct EL resolver wrapper.- Parameters:
wrapped
- The EL resolver to be wrapped.
-
-
Method Detail
-
getWrapped
public ELResolver getWrapped()
- Specified by:
getWrapped
in interfaceFacesWrapper<ELResolver>
-
getValue
public Object getValue(ELContext context, Object base, Object property)
- Specified by:
getValue
in classELResolver
-
invoke
public Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
- Overrides:
invoke
in classELResolver
-
getType
public Class<?> getType(ELContext context, Object base, Object property)
- Specified by:
getType
in classELResolver
-
setValue
public void setValue(ELContext context, Object base, Object property, Object value)
- Specified by:
setValue
in classELResolver
-
isReadOnly
public boolean isReadOnly(ELContext context, Object base, Object property)
- Specified by:
isReadOnly
in classELResolver
-
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
- Specified by:
getFeatureDescriptors
in classELResolver
-
getCommonPropertyType
public Class<?> getCommonPropertyType(ELContext context, Object base)
- Specified by:
getCommonPropertyType
in classELResolver
-
-