Modifier and Type | Class and Description |
---|---|
class |
StandardELContext
A standard ELContext suitable for use in a stand alone environment.
|
Modifier and Type | Method and Description |
---|---|
ELContext |
ELContextEvent.getELContext()
Returns the
ELContext that was created. |
ELContext |
ELManager.setELContext(ELContext context)
Set the ELContext used for parsing and evaluating Jakarta Expression Language expressions.
|
Modifier and Type | Method and Description |
---|---|
void |
EvaluationListener.afterEvaluation(ELContext context,
String expression)
Receives notification after a Jakarta Expression Language expression is evaluated
|
void |
EvaluationListener.beforeEvaluation(ELContext context,
String expression)
Receives notification before a Jakarta Expression Language expression is evaluated
|
Object |
CompositeELResolver.convertToType(ELContext context,
Object obj,
Class<?> targetType)
Converts an object to a specific type.
|
Object |
ELResolver.convertToType(ELContext context,
Object obj,
Class<?> targetType)
Converts an object to a specific type.
|
abstract Object |
TypeConverter.convertToType(ELContext context,
Object obj,
Class<?> targetType)
Converts an object to a specific type.
|
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<?> |
CompositeELResolver.getCommonPropertyType(ELContext context,
Object base)
Returns the most general type that this resolver accepts for the
property argument, given a
base object. |
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<?> |
BeanNameELResolver.getCommonPropertyType(ELContext context,
Object base)
Always returns
String.class , since a bean name is a String. |
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<?> |
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<?> |
StaticFieldELResolver.getCommonPropertyType(ELContext context,
Object base)
Returns the type of the property.
|
Class<?> |
TypeConverter.getCommonPropertyType(ELContext context,
Object base) |
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<?> |
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. |
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. |
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. |
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> |
BeanNameELResolver.getFeatureDescriptors(ELContext context,
Object base)
Always returns
null , since there is no reason to iterate through a list of one element: bean name. |
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> |
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> |
StaticFieldELResolver.getFeatureDescriptors(ELContext context,
Object base)
Returns the properties that can be resolved.
|
Iterator<FeatureDescriptor> |
TypeConverter.getFeatureDescriptors(ELContext context,
Object base) |
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> |
ArrayELResolver.getFeatureDescriptors(ELContext context,
Object base)
Always returns
null , since there is no reason to iterate through set set of all integers. |
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 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(javax.el.ELContext, java.lang.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(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)
method. |
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(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object)
method. |
Class<?> |
BeanNameELResolver.getType(ELContext context,
Object base,
Object property)
If the base is null and the property is a name resolvable by the BeanNameResolver, return the type of the bean.
|
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<?> |
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<?> |
StaticFieldELResolver.getType(ELContext context,
Object base,
Object property)
Returns the type of a static field.
|
Class<?> |
TypeConverter.getType(ELContext context,
Object base,
Object property) |
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<?> |
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.
|
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 Object |
ValueExpression.getValue(ELContext context)
Evaluates the expression relative to the provided context, and returns the resulting value.
|
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. |
abstract Object |
ELResolver.getValue(ELContext context,
Object base,
Object property)
Attempts to resolve the given
property object on the given base object. |
Object |
BeanNameELResolver.getValue(ELContext context,
Object base,
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. |
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 |
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 |
StaticFieldELResolver.getValue(ELContext context,
Object base,
Object property)
Returns the value of a static field.
|
Object |
TypeConverter.getValue(ELContext context,
Object base,
Object property) |
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 |
ArrayELResolver.getValue(ELContext context,
Object base,
Object property)
If the base object is a Java language array, returns the value at the given index.
|
Object |
ListELResolver.getValue(ELContext context,
Object base,
Object property)
If the base object is a list, returns the value at the given index.
|
ValueReference |
ValueExpression.getValueReference(ELContext context)
Returns a
ValueReference for this expression instance. |
Object |
LambdaExpression.invoke(ELContext elContext,
Object... args)
Invoke the encapsulated Lambda expression.
|
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 |
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 |
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 |
BeanELResolver.invoke(ELContext context,
Object base,
Object methodName,
Class<?>[] paramTypes,
Object[] params)
If the base object is not
null , invoke the method, with the given parameters on this bean. |
Object |
StaticFieldELResolver.invoke(ELContext context,
Object base,
Object methodName,
Class<?>[] paramTypes,
Object[] params)
Invokes a public static method or the constructor for a class.
|
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 |
CompositeELResolver.isReadOnly(ELContext context,
Object base,
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,
Object base,
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. |
boolean |
BeanNameELResolver.isReadOnly(ELContext context,
Object base,
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 |
BeanELResolver.isReadOnly(ELContext context,
Object base,
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 |
MapELResolver.isReadOnly(ELContext context,
Object base,
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 |
StaticFieldELResolver.isReadOnly(ELContext context,
Object base,
Object property)
Inquires whether the static field is writable.
|
boolean |
TypeConverter.isReadOnly(ELContext context,
Object base,
Object property) |
boolean |
ResourceBundleELResolver.isReadOnly(ELContext context,
Object base,
Object property)
|
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(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.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(javax.el.ELContext, java.lang.Object, java.lang.Object, java.lang.Object) will always fail. |
void |
EvaluationListener.propertyResolved(ELContext context,
Object base,
Object property)
Receives notification when the (base, property) pair is resolved
|
ELContext |
ELManager.setELContext(ELContext context)
Set the ELContext used for parsing and evaluating Jakarta Expression Language expressions.
|
void |
LambdaExpression.setELContext(ELContext context)
Set the ELContext to use in evaluating the LambdaExpression.
|
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 |
CompositeELResolver.setValue(ELContext context,
Object base,
Object property,
Object val)
Attempts to set the value of the given
property object on the given base object. |
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 |
BeanNameELResolver.setValue(ELContext context,
Object base,
Object property,
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 |
BeanELResolver.setValue(ELContext context,
Object base,
Object property,
Object val)
If the base object is not
null , attempts to set the value of the given property on this bean. |
void |
MapELResolver.setValue(ELContext context,
Object base,
Object property,
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 |
StaticFieldELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
Attempts to write to a static field.
|
void |
TypeConverter.setValue(ELContext context,
Object base,
Object property,
Object value) |
void |
ResourceBundleELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
If the base object is a ResourceBundle, throw a
PropertyNotWritableException . |
void |
ArrayELResolver.setValue(ELContext context,
Object base,
Object property,
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 |
ListELResolver.setValue(ELContext context,
Object base,
Object property,
Object val)
If the base object is a list, 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. |
StandardELContext(ELContext context)
Construct a StandardELContext from another ELContext.
|
Comments to: el-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.