- 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
ELResolverthat can be sub-classed by developers wishing to provide specialized behavior to an existingELResolverinstance. 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)ObjectgetValue(ELContext context, Object base, Object property)ELResolvergetWrapped()Objectinvoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)booleanisReadOnly(ELContext context, Object base, Object property)voidsetValue(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:
getWrappedin interfaceFacesWrapper<ELResolver>
-
getValue
public Object getValue(ELContext context, Object base, Object property)
- Specified by:
getValuein classELResolver
-
invoke
public Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
- Overrides:
invokein classELResolver
-
getType
public Class<?> getType(ELContext context, Object base, Object property)
- Specified by:
getTypein classELResolver
-
setValue
public void setValue(ELContext context, Object base, Object property, Object value)
- Specified by:
setValuein classELResolver
-
isReadOnly
public boolean isReadOnly(ELContext context, Object base, Object property)
- Specified by:
isReadOnlyin classELResolver
-
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
- Specified by:
getFeatureDescriptorsin classELResolver
-
getCommonPropertyType
public Class<?> getCommonPropertyType(ELContext context, Object base)
- Specified by:
getCommonPropertyTypein classELResolver
-
-