public abstract class ELResolver
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESOLVABLE_AT_DESIGN_TIME
FeatureDescriptor property indicating whether the variable or
property can be resolved at compile time.
|
static java.lang.String |
TYPE
FeatureDescriptor property indicating the class of the variable or
property.
|
Constructor and Description |
---|
ELResolver() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Class |
getCommonPropertyType(ELContext context,
java.lang.Object base)
Returns the most general class of properties in the base object.
|
abstract java.util.Iterator<java.beans.FeatureDescriptor> |
getFeatureDescriptors(ELContext context,
java.lang.Object base)
Returns metadata about the variables or properties within the
specified base object.
|
abstract java.lang.Class |
getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
Returns the class of the specified property of the base object.
|
abstract java.lang.Object |
getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
Resolves the specified property of the base object.
|
abstract boolean |
isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
Indicates whether the specified property of the base object is
read-only.
|
abstract void |
setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
Sets the value of the specified property of the base object.
|
public static final java.lang.String RESOLVABLE_AT_DESIGN_TIME
public static final java.lang.String TYPE
public abstract java.lang.Object getValue(ELContext context, java.lang.Object base, java.lang.Object property) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
context
- the evaluation contextbase
- the target of the operationproperty
- the property of the base objectjava.lang.NullPointerException
PropertyNotFoundException
ELException
public abstract java.lang.Class getType(ELContext context, java.lang.Object base, java.lang.Object property) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
context
- the evaluation contextbase
- the target of the operationproperty
- the property of the base objectjava.lang.NullPointerException
PropertyNotFoundException
ELException
public abstract void setValue(ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value) throws java.lang.NullPointerException, PropertyNotFoundException, PropertyNotWritableException, ELException
context
- the evaluation contextbase
- the target of the operationproperty
- the property of the base objectvalue
- the new value of the propertyPropertyNotWritableException
- if the property is read-onlyjava.lang.NullPointerException
PropertyNotFoundException
ELException
public abstract boolean isReadOnly(ELContext context, java.lang.Object base, java.lang.Object property) throws java.lang.NullPointerException, PropertyNotFoundException, ELException
context
- the evaluation contextbase
- the target of the operationproperty
- the property of the base objectjava.lang.NullPointerException
PropertyNotFoundException
ELException
public abstract java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context, java.lang.Object base)
context
- the evaluation contextbase
- the target of the operationpublic abstract java.lang.Class getCommonPropertyType(ELContext context, java.lang.Object base)
context
- the evaluation contextbase
- the target of the operation