public abstract class ELResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOLVABLE_AT_DESIGN_TIME |
static String |
TYPE |
| Constructor and Description |
|---|
ELResolver() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToType(ELContext context,
Object obj,
Class<?> type)
Converts the given object to the given type.
|
abstract Class<?> |
getCommonPropertyType(ELContext context,
Object base) |
abstract Iterator<FeatureDescriptor> |
getFeatureDescriptors(ELContext context,
Object base) |
abstract Class<?> |
getType(ELContext context,
Object base,
Object property) |
abstract Object |
getValue(ELContext context,
Object base,
Object property) |
Object |
invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params) |
abstract boolean |
isReadOnly(ELContext context,
Object base,
Object property) |
abstract void |
setValue(ELContext context,
Object base,
Object property,
Object value) |
public static final String TYPE
public static final String RESOLVABLE_AT_DESIGN_TIME
public abstract Object getValue(ELContext context, Object base, Object property)
NullPointerException - If the supplied context is nullPropertyNotFoundException - If the base/property combination provided to the resolver is
one that the resolver can handle but no match was found or a
match was found but was not readableELException - Wraps any exception throw whilst resolving the propertypublic Object invoke(ELContext context, Object base, Object method, Class<?>[] paramTypes, Object[] params)
public abstract Class<?> getType(ELContext context, Object base, Object property)
NullPointerException - If the supplied context is nullPropertyNotFoundException - If the base/property combination provided to the resolver is
one that the resolver can handle but no match was found or a
match was found but was not readableELException - Wraps any exception throw whilst resolving the propertypublic abstract void setValue(ELContext context, Object base, Object property, Object value)
NullPointerException - If the supplied context is nullPropertyNotFoundException - If the base/property combination provided to the resolver is
one that the resolver can handle but no match was foundPropertyNotWritableException - If the base/property combination provided to the resolver is
one that the resolver can handle but the property was not
writableELException - Wraps any exception throw whilst resolving the propertypublic abstract boolean isReadOnly(ELContext context, Object base, Object property)
NullPointerException - If the supplied context is nullPropertyNotFoundException - If the base/property combination provided to the resolver is
one that the resolver can handle but no match was foundELException - Wraps any exception throw whilst resolving the propertypublic abstract Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
public abstract Class<?> getCommonPropertyType(ELContext context, Object base)
Copyright © 2014 Mort Bay Consulting. All Rights Reserved.