public class BeanELResolver extends ELResolver
Modifier and Type | Class and Description |
---|---|
protected static class |
BeanELResolver.BeanProperties |
protected static class |
BeanELResolver.BeanProperty |
RESOLVABLE_AT_DESIGN_TIME, TYPE
Constructor and Description |
---|
BeanELResolver() |
BeanELResolver(boolean isReadOnly) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getCommonPropertyType(ELContext context,
java.lang.Object base) |
java.util.Iterator<java.beans.FeatureDescriptor> |
getFeatureDescriptors(ELContext context,
java.lang.Object base) |
java.lang.Class<?> |
getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is not null, returns the most general type of the
property
|
java.lang.Object |
getValue(ELContext context,
java.lang.Object base,
java.lang.Object property) |
java.lang.Object |
invoke(ELContext context,
java.lang.Object base,
java.lang.Object methodObj,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params) |
boolean |
isReadOnly(ELContext env,
java.lang.Object base,
java.lang.Object property) |
void |
setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value) |
public BeanELResolver()
public BeanELResolver(boolean isReadOnly)
public java.lang.Class<?> getCommonPropertyType(ELContext context, java.lang.Object base)
getCommonPropertyType
in class ELResolver
public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context, java.lang.Object base)
getFeatureDescriptors
in class ELResolver
public java.lang.Class<?> getType(ELContext context, java.lang.Object base, java.lang.Object property)
getType
in class ELResolver
context
- base
- property
- public java.lang.Object getValue(ELContext context, java.lang.Object base, java.lang.Object property)
getValue
in class ELResolver
public boolean isReadOnly(ELContext env, java.lang.Object base, java.lang.Object property)
isReadOnly
in class ELResolver
public void setValue(ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
setValue
in class ELResolver
public java.lang.Object invoke(ELContext context, java.lang.Object base, java.lang.Object methodObj, java.lang.Class<?>[] paramTypes, java.lang.Object[] params)
invoke
in class ELResolver