|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of ELContext in javax.el |
|---|
| Subclasses of ELContext in javax.el | |
|---|---|
class |
StandardELContext
A standard ELContext suitable for use in a stand alone environment. |
| Methods in javax.el that return ELContext | |
|---|---|
ELContext |
ELContextEvent.getELContext()
Returns the ELContext that was created. |
ELContext |
ELManager.setELContext(ELContext context)
Set the ELContext used for parsing and evaluating EL expressions. |
| Methods in javax.el with parameters of type ELContext | |
|---|---|
void |
EvaluationListener.afterEvaluation(ELContext context,
java.lang.String expression)
Receives notification after an EL expression is evaluated |
void |
EvaluationListener.beforeEvaluation(ELContext context,
java.lang.String expression)
Receives notification before an EL expression is evaluated |
abstract java.lang.Object |
TypeConverter.convertToType(ELContext context,
java.lang.Object obj,
java.lang.Class<?> targetType)
Converts an object to a specific type. |
java.lang.Object |
CompositeELResolver.convertToType(ELContext context,
java.lang.Object obj,
java.lang.Class<?> targetType)
Converts an object to a specific type. |
java.lang.Object |
ELResolver.convertToType(ELContext context,
java.lang.Object obj,
java.lang.Class<?> targetType)
Converts an object to a specific type. |
abstract MethodExpression |
ExpressionFactory.createMethodExpression(ELContext context,
java.lang.String expression,
java.lang.Class<?> expectedReturnType,
java.lang.Class<?>[] expectedParamTypes)
Parses an expression into a MethodExpression for later
evaluation. |
abstract ValueExpression |
ExpressionFactory.createValueExpression(ELContext context,
java.lang.String expression,
java.lang.Class<?> expectedType)
Parses an expression into a ValueExpression for later
evaluation. |
java.lang.Class<?> |
ListELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
If the base object is a list, returns the most general type that this resolver accepts for the property argument. |
java.lang.Class<?> |
ArrayELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
If the base object is a Java language array, returns the most general type that this resolver accepts for the property argument. |
java.lang.Class<?> |
BeanELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
If the base object is not null, returns the most
general type that this resolver accepts for the
property argument. |
java.lang.Class<?> |
BeanNameELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
Always returns String.class, since a bean name is a String. |
java.lang.Class<?> |
StaticFieldELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
Returns the type of the property. |
java.lang.Class<?> |
TypeConverter.getCommonPropertyType(ELContext context,
java.lang.Object base)
|
java.lang.Class<?> |
ResourceBundleELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
If the base object is a ResourceBundle, returns the most general type that this resolver accepts for the property argument. |
java.lang.Class<?> |
MapELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
If the base object is a map, returns the most general type that this resolver accepts for the property argument. |
java.lang.Class<?> |
CompositeELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
Returns the most general type that this resolver accepts for the property argument, given a base object. |
abstract java.lang.Class<?> |
ELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
Returns the most general type that this resolver accepts for the property argument, given a base object. |
java.util.Iterator<java.beans.FeatureDescriptor> |
ListELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
Always returns null, since there is no reason to
iterate through set set of all integers. |
java.util.Iterator<java.beans.FeatureDescriptor> |
ArrayELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
Always returns null, since there is no reason to
iterate through set set of all integers. |
java.util.Iterator<java.beans.FeatureDescriptor> |
BeanELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
If the base object is not null, returns an
Iterator containing the set of JavaBeans properties
available on the given object. |
java.util.Iterator<java.beans.FeatureDescriptor> |
BeanNameELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
Always returns null, since there is no reason to
iterate through a list of one element: bean name. |
java.util.Iterator<java.beans.FeatureDescriptor> |
StaticFieldELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
Returns the properties that can be resolved. |
java.util.Iterator<java.beans.FeatureDescriptor> |
TypeConverter.getFeatureDescriptors(ELContext context,
java.lang.Object base)
|
java.util.Iterator<java.beans.FeatureDescriptor> |
ResourceBundleELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
If the base object is a ResourceBundle, returns an Iterator
containing the set of keys available in the ResourceBundle. |
java.util.Iterator<java.beans.FeatureDescriptor> |
MapELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
If the base object is a map, returns an Iterator
containing the set of keys available in the Map. |
java.util.Iterator<java.beans.FeatureDescriptor> |
CompositeELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
Returns information about the set of variables or properties that can be resolved for the given base object. |
abstract java.util.Iterator<java.beans.FeatureDescriptor> |
ELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
Returns information about the set of variables or properties that can be resolved for the given base object. |
abstract MethodInfo |
MethodExpression.getMethodInfo(ELContext context)
Evaluates the expression relative to the provided context, and returns information about the actual referenced method. |
abstract java.lang.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(javax.el.ELContext, java.lang.Object) method. |
java.lang.Class<?> |
ListELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is a list, returns the most general acceptable type for a value in this list. |
java.lang.Class<?> |
ArrayELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is an array, returns the most general acceptable type for a value in this array. |
java.lang.Class<?> |
BeanELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is not null, returns the most
general acceptable type that can be set on this bean property. |
java.lang.Class<?> |
BeanNameELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base is null and the property is a name resolvable by the BeanNameResolver, return the type of the bean. |
java.lang.Class<?> |
StaticFieldELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
Returns the type of a static field. |
java.lang.Class<?> |
TypeConverter.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
|
java.lang.Class<?> |
ResourceBundleELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is an instance of ResourceBundle,
return null, since the resolver is read only. |
java.lang.Class<?> |
MapELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is a map, returns the most general acceptable type for a value in this map. |
java.lang.Class<?> |
CompositeELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.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(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) method. |
abstract java.lang.Class<?> |
ELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.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(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) method. |
abstract java.lang.Object |
ValueExpression.getValue(ELContext context)
Evaluates the expression relative to the provided context, and returns the resulting value. |
java.lang.Object |
ListELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is a list, returns the value at the given index. |
java.lang.Object |
ArrayELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is a Java language array, returns the value at the given index. |
java.lang.Object |
BeanELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is not null, returns the current
value of the given property on this bean. |
java.lang.Object |
BeanNameELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is null and the property is a name
that is resolvable by the BeanNameResolver, returns the value
resolved by the BeanNameResolver. |
java.lang.Object |
StaticFieldELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
Returns the value of a static field. |
java.lang.Object |
TypeConverter.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
|
java.lang.Object |
ResourceBundleELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is an instance of ResourceBundle,
the provided property will first be coerced to a String. |
java.lang.Object |
MapELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is a map, returns the value associated with the given key, as specified by the property argument. |
java.lang.Object |
CompositeELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
Attempts to resolve the given property object on the given
base object by querying all component resolvers. |
abstract java.lang.Object |
ELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
Attempts to resolve the given property object on the given
base object. |
ValueReference |
ValueExpression.getValueReference(ELContext context)
Returns a ValueReference for this expression instance. |
java.lang.Object |
LambdaExpression.invoke(ELContext elContext,
java.lang.Object... args)
Invoke the encapsulated Lambda expression. |
abstract java.lang.Object |
MethodExpression.invoke(ELContext context,
java.lang.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. |
java.lang.Object |
BeanELResolver.invoke(ELContext context,
java.lang.Object base,
java.lang.Object method,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params)
If the base object is not null, invoke the method, with
the given parameters on this bean. |
java.lang.Object |
StaticFieldELResolver.invoke(ELContext context,
java.lang.Object base,
java.lang.Object method,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params)
Invokes a public static method or the constructor for a class. |
java.lang.Object |
CompositeELResolver.invoke(ELContext context,
java.lang.Object base,
java.lang.Object method,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params)
Attemps to resolve and invoke the given method on the given
base object by querying all component resolvers. |
java.lang.Object |
ELResolver.invoke(ELContext context,
java.lang.Object base,
java.lang.Object method,
java.lang.Class<?>[] paramTypes,
java.lang.Object[] params)
Attemps to resolve and invoke the given method on the given
base object. |
abstract boolean |
ValueExpression.isReadOnly(ELContext context)
Evaluates the expression relative to the provided context, and returns true if a call to ValueExpression.setValue(javax.el.ELContext, java.lang.Object) will
always fail. |
boolean |
ListELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is a list, returns whether a call to ListELResolver.setValue(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) will always fail. |
boolean |
ArrayELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is a Java language array, returns whether a call to ArrayELResolver.setValue(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) will always fail. |
boolean |
BeanELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is not null, returns whether a call
to BeanELResolver.setValue(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) will always fail. |
boolean |
BeanNameELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base is null and the property is a name resolvable by the BeanNameResolver, attempts to determine if the bean is writable. |
boolean |
StaticFieldELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
Inquires whether the static field is writable. |
boolean |
TypeConverter.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
|
boolean |
ResourceBundleELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is not null and an instanceof ResourceBundle,
return true. |
boolean |
MapELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is a map, returns whether a call to MapELResolver.setValue(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) will always fail. |
boolean |
CompositeELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
For a given base and property, attempts to
determine whether a call to CompositeELResolver.setValue(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) will always fail. |
abstract boolean |
ELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
For a given base and property, attempts to
determine whether a call to ELResolver.setValue(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) will always fail. |
static void |
EvaluationListener.notifyAfterEvaluation(ELContext context,
java.lang.String expr)
Notifies the listeners after an EL expression is evaluated |
static void |
EvaluationListener.notifyBeforeEvaluation(ELContext context,
java.lang.String expr)
Notifies the listeners before an EL expression is evaluated |
static void |
EvaluationListener.notifyPropertyResolved(ELContext context,
java.lang.Object base,
java.lang.Object property)
Notifies the listeners when the (base, property) pair is resolved |
void |
EvaluationListener.propertyResolved(ELContext context,
java.lang.Object base,
java.lang.Object property)
Receives notification when the (base, property) pair is resolved |
ELContext |
ELManager.setELContext(ELContext context)
Set the ELContext used for parsing and evaluating EL expressions. |
abstract void |
ValueExpression.setValue(ELContext context,
java.lang.Object value)
Evaluates the expression relative to the provided context, and sets the result to the provided value. |
void |
ListELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
If the base object is a list, attempts to set the value at the given index with the given value. |
void |
ArrayELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
If the base object is a Java language array, attempts to set the value at the given index with the given value. |
void |
BeanELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
If the base object is not null, attempts to set the
value of the given property on this bean. |
void |
BeanNameELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
If the base is null and the property is a name that is resolvable by the BeanNameResolver, the bean in the BeanNameResolver is set to the given value. |
void |
StaticFieldELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
Attempts to write to a static field. |
void |
TypeConverter.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
|
void |
ResourceBundleELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
If the base object is a ResourceBundle, throw a PropertyNotWritableException. |
void |
MapELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
If the base object is a map, attempts to set the value associated with the given key, as specified by the property argument. |
void |
CompositeELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
Attempts to set the value of the given property
object on the given base object. |
abstract void |
ELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
Attempts to set the value of the given property
object on the given base object. |
| Constructors in javax.el with parameters of type ELContext | |
|---|---|
ELContextEvent(ELContext source)
Constructs an ELContextEvent object to indicate that an ELContext has been created. |
|
StandardELContext(ELContext context)
Construct a StandardELContext from another ELContext. |
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||