Package org.apache.el.stream
Class StreamELResolverImpl
- java.lang.Object
-
- jakarta.el.ELResolver
-
- org.apache.el.stream.StreamELResolverImpl
-
public class StreamELResolverImpl extends ELResolver
-
-
Field Summary
-
Fields inherited from class jakarta.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
-
-
Constructor Summary
Constructors Constructor Description StreamELResolverImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getCommonPropertyType(ELContext context, Object base)Obtain the most common type that is acceptable for the given base object.Iterator<FeatureDescriptor>getFeatureDescriptors(ELContext context, Object base)Obtain the feature descriptors for the resolvable properties of the given object.Class<?>getType(ELContext context, Object base, Object property)ObjectgetValue(ELContext context, Object base, Object property)Objectinvoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)Invokes a method on the the given object.booleanisReadOnly(ELContext context, Object base, Object property)voidsetValue(ELContext context, Object base, Object property, Object value)-
Methods inherited from class jakarta.el.ELResolver
convertToType
-
-
-
-
Method Detail
-
getValue
public Object getValue(ELContext context, Object base, Object property)
- Specified by:
getValuein classELResolver- Parameters:
context- The EL context for this evaluationbase- The base object on which the property is to be foundproperty- The property whose value is to be returned- Returns:
- the value of the provided property
-
getType
public Class<?> getType(ELContext context, Object base, Object property)
- Specified by:
getTypein classELResolver- Parameters:
context- The EL context for this evaluationbase- The base object on which the property is to be foundproperty- The property whose type is to be returned- Returns:
- the type of the provided property
-
setValue
public void setValue(ELContext context, Object base, Object property, Object value)
- Specified by:
setValuein classELResolver- Parameters:
context- The EL context for this evaluationbase- The base object on which the property is to be foundproperty- The property whose value is to be setvalue- The value to set the property to
-
isReadOnly
public boolean isReadOnly(ELContext context, Object base, Object property)
- Specified by:
isReadOnlyin classELResolver- Parameters:
context- The EL context for this evaluationbase- The base object on which the property is to be foundproperty- The property to be checked for read only status- Returns:
trueif the identified property is read only, otherwisefalse
-
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
Description copied from class:jakarta.el.ELResolverObtain the feature descriptors for the resolvable properties of the given object.- Specified by:
getFeatureDescriptorsin classELResolver- Parameters:
context- The context in which the examination takes placebase- The object to examine- Returns:
- An iterator, possibly empty, of feature descriptors of the given object
-
getCommonPropertyType
public Class<?> getCommonPropertyType(ELContext context, Object base)
Description copied from class:jakarta.el.ELResolverObtain the most common type that is acceptable for the given base object.- Specified by:
getCommonPropertyTypein classELResolver- Parameters:
context- The context in which the examination takes placebase- The object to examine- Returns:
- {code null} if the most common type cannot be determine, otherwise the most common type
-
invoke
public Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
Description copied from class:jakarta.el.ELResolverInvokes a method on the the given object. This default implementation always returnsnull.- Overrides:
invokein classELResolver- Parameters:
context- The EL context for this evaluationbase- The base object on which the method is to be foundmethod- The method to invokeparamTypes- The types of the parameters of the method to invokeparams- The parameters with which to invoke the method- Returns:
- Always
null
-
-