| Modifier and Type | Method and Description |
|---|---|
ELContext |
ELContextEvent.getELContext()
Returns the ELContext that was created.
|
| Modifier and Type | Method and Description |
|---|---|
abstract MethodExpression |
ExpressionFactory.createMethodExpression(ELContext context,
String expression,
Class<?> expectedReturnType,
Class<?>[] expectedParamTypes)
Parses an expression into a
MethodExpression for later evaluation. |
abstract ValueExpression |
ExpressionFactory.createValueExpression(ELContext context,
String expression,
Class<?> expectedType)
Parses an expression into a
ValueExpression for later evaluation. |
Class<?> |
ResourceBundleELResolver.getCommonPropertyType(ELContext context,
Object base)
If the base object is a ResourceBundle, returns the most general type that this resolver
accepts for the property argument.
|
Class<?> |
MapELResolver.getCommonPropertyType(ELContext context,
Object base)
If the base object is a map, returns the most general type that this resolver accepts for the
property argument.
|
Class<?> |
ListELResolver.getCommonPropertyType(ELContext context,
Object base)
If the base object is a list, returns the most general type that this resolver accepts for
the property argument.
|
abstract Class<?> |
ELResolver.getCommonPropertyType(ELContext context,
Object base)
Returns the most general type that this resolver accepts for the property argument, given a
base object.
|
Class<?> |
CompositeELResolver.getCommonPropertyType(ELContext context,
Object base)
Returns the most general type that this resolver accepts for the property argument, given a
base object.
|
Class<?> |
BeanELResolver.getCommonPropertyType(ELContext context,
Object base)
If the base object is not null, returns the most general type that this resolver accepts for
the property argument.
|
Class<?> |
ArrayELResolver.getCommonPropertyType(ELContext context,
Object base)
If the base object is a Java language array, returns the most general type that this resolver
accepts for the property argument.
|
Iterator<FeatureDescriptor> |
ResourceBundleELResolver.getFeatureDescriptors(ELContext context,
Object base)
If the base object is a ResourceBundle, returns an Iterator containing the set of keys
available in the ResourceBundle.
|
Iterator<FeatureDescriptor> |
MapELResolver.getFeatureDescriptors(ELContext context,
Object base)
If the base object is a map, returns an Iterator containing the set of keys available in the
Map.
|
Iterator<FeatureDescriptor> |
ListELResolver.getFeatureDescriptors(ELContext context,
Object base)
Always returns null, since there is no reason to iterate through set set of all integers.
|
abstract Iterator<FeatureDescriptor> |
ELResolver.getFeatureDescriptors(ELContext context,
Object base)
Returns information about the set of variables or properties that can be resolved for the
given base object.
|
Iterator<FeatureDescriptor> |
CompositeELResolver.getFeatureDescriptors(ELContext context,
Object base)
Returns information about the set of variables or properties that can be resolved for the
given base object.
|
Iterator<FeatureDescriptor> |
BeanELResolver.getFeatureDescriptors(ELContext context,
Object base)
If the base object is not null, returns an Iterator containing the set of JavaBeans
properties available on the given object.
|
Iterator<FeatureDescriptor> |
ArrayELResolver.getFeatureDescriptors(ELContext context,
Object base)
Always returns null, since there is no reason to iterate through set set of all integers.
|
abstract MethodInfo |
MethodExpression.getMethodInfo(ELContext context)
Evaluates the expression relative to the provided context, and returns information about the
actual referenced method.
|
abstract Class<?> |
ValueExpression.getType(ELContext context)
Evaluates the expression relative to the provided context, and returns the most general type
that is acceptable for an object to be passed as the value parameter in a future call to the
ValueExpression.setValue(ELContext, Object) method. |
Class<?> |
ResourceBundleELResolver.getType(ELContext context,
Object base,
Object property)
If the base object is an instance of ResourceBundle, return null, since the resolver is read
only.
|
Class<?> |
MapELResolver.getType(ELContext context,
Object base,
Object property)
If the base object is a map, returns the most general acceptable type for a value in this
map.
|
Class<?> |
ListELResolver.getType(ELContext context,
Object base,
Object property)
If the base object is a list, returns the most general acceptable type for a value in this
list.
|
abstract Class<?> |
ELResolver.getType(ELContext context,
Object base,
Object property)
For a given base and property, attempts to identify the most general type that is acceptable
for an object to be passed as the value parameter in a future call to the
ELResolver.setValue(ELContext, Object, Object, Object) method. |
Class<?> |
CompositeELResolver.getType(ELContext context,
Object base,
Object property)
For a given base and property, attempts to identify the most general type that is acceptable
for an object to be passed as the value parameter in a future call to the
CompositeELResolver.setValue(ELContext, Object, Object, Object) method. |
Class<?> |
BeanELResolver.getType(ELContext context,
Object base,
Object property)
If the base object is not null, returns the most general acceptable type that can be set on
this bean property.
|
Class<?> |
ArrayELResolver.getType(ELContext context,
Object base,
Object property)
If the base object is an array, returns the most general acceptable type for a value in this
array.
|
abstract Object |
ValueExpression.getValue(ELContext context)
Evaluates the expression relative to the provided context, and returns the resulting value.
|
Object |
ResourceBundleELResolver.getValue(ELContext context,
Object base,
Object property)
If the base object is an instance of ResourceBundle, the provided property will first be
coerced to a String.
|
Object |
MapELResolver.getValue(ELContext context,
Object base,
Object property)
If the base object is a map, returns the value associated with the given key, as specified by
the property argument.
|
Object |
ListELResolver.getValue(ELContext context,
Object base,
Object property)
If the base object is a list, returns the value at the given index.
|
abstract Object |
ELResolver.getValue(ELContext context,
Object base,
Object property)
Attempts to resolve the given property object on the given base object.
|
Object |
CompositeELResolver.getValue(ELContext context,
Object base,
Object property)
Attempts to resolve the given property object on the given base object by querying all
component resolvers.
|
Object |
BeanELResolver.getValue(ELContext context,
Object base,
Object property)
If the base object is not null, returns the current value of the given property on this bean.
|
Object |
ArrayELResolver.getValue(ELContext context,
Object base,
Object property)
If the base object is a Java language array, returns the value at the given index.
|
ValueReference |
ValueExpression.getValueReference(ELContext context)
Returns a
ValueReference for this expression instance. |
abstract Object |
MethodExpression.invoke(ELContext context,
Object[] params)
If a String literal is specified as the expression, returns the String literal coerced to the
expected return type of the method signature.
|
Object |
ELResolver.invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params)
Attempts to resolve and invoke the given
method on the given base
object. |
Object |
CompositeELResolver.invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params)
Attempts to resolve and invoke the given
method on the given base
object by querying all component resolvers. |
Object |
BeanELResolver.invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params)
If the base object is not
null, invoke the method, with the given parameters on
this bean. |
abstract boolean |
ValueExpression.isReadOnly(ELContext context)
Evaluates the expression relative to the provided context, and returns true if a call to
ValueExpression.setValue(ELContext, Object) will always fail. |
boolean |
ResourceBundleELResolver.isReadOnly(ELContext context,
Object base,
Object property)
If the base object is not null and an instanceof java.util.ResourceBundle, return true.
|
boolean |
MapELResolver.isReadOnly(ELContext context,
Object base,
Object property)
If the base object is a map, returns whether a call to
MapELResolver.setValue(ELContext, Object, Object, Object) will always fail. |
boolean |
ListELResolver.isReadOnly(ELContext context,
Object base,
Object property)
If the base object is a list, returns whether a call to
ListELResolver.setValue(ELContext, Object, Object, Object) will always fail. |
abstract boolean |
ELResolver.isReadOnly(ELContext context,
Object base,
Object property)
For a given base and property, attempts to determine whether a call to
ELResolver.setValue(ELContext, Object, Object, Object) will always fail. |
boolean |
CompositeELResolver.isReadOnly(ELContext context,
Object base,
Object property)
For a given base and property, attempts to determine whether a call to
CompositeELResolver.setValue(ELContext, Object, Object, Object) will always fail. |
boolean |
BeanELResolver.isReadOnly(ELContext context,
Object base,
Object property)
If the base object is not null, returns whether a call to
BeanELResolver.setValue(ELContext, Object, Object, Object) will always fail. |
boolean |
ArrayELResolver.isReadOnly(ELContext context,
Object base,
Object property)
If the base object is a Java language array, returns whether a call to
ArrayELResolver.setValue(ELContext, Object, Object, Object) will always fail. |
abstract void |
ValueExpression.setValue(ELContext context,
Object value)
Evaluates the expression relative to the provided context, and sets the result to the
provided value.
|
void |
ResourceBundleELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
If the base object is a ResourceBundle, throw a
PropertyNotWritableException. |
void |
MapELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
If the base object is a map, attempts to set the value associated with the given key, as
specified by the property argument.
|
void |
ListELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
If the base object is a list, attempts to set the value at the given index with the given
value.
|
abstract void |
ELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
Attempts to set the value of the given property object on the given base object.
|
void |
CompositeELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
Attempts to set the value of the given property object on the given base object.
|
void |
BeanELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
If the base object is not null, attempts to set the value of the given property on this bean.
|
void |
ArrayELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
If the base object is a Java language array, attempts to set the value at the given index
with the given value.
|
| Constructor and Description |
|---|
ELContextEvent(ELContext source)
Constructs an ELContextEvent object to indicate that an ELContext has been created.
|
Copyright © 2006-2013 Odysseus Software GmbH. All Rights Reserved.