|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ELContext | |
|---|---|
| javax.el | Provides the API for the Unified Expression Language shared by the JSP 2.1 and JSF 1.2 technologies. |
| javax.servlet.jsp | Classes and interfaces for the Core JSP 2.1 API. |
| javax.servlet.jsp.el | Provides the ELResolver classes that define the
object resolution rules that must be supported by a JSP container
with the new unified Expression Language. |
| Uses of ELContext in javax.el |
|---|
| Fields in javax.el declared as ELContext | |
|---|---|
(package private) ELContext |
CompositeELResolver.CompositeIterator.context
|
| Methods in javax.el that return ELContext | |
|---|---|
ELContext |
ELContextEvent.getELContext()
Returns the ELContext that was created. |
| Methods in javax.el with parameters of type ELContext | |
|---|---|
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. |
private BeanELResolver.BeanProperty |
BeanELResolver.getBeanProperty(ELContext context,
java.lang.Object base,
java.lang.Object prop)
|
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<?> |
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. |
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.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<?> |
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<?> |
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. |
static java.lang.String |
ELUtil.getExceptionMessageString(ELContext context,
java.lang.String messageId)
|
static java.lang.String |
ELUtil.getExceptionMessageString(ELContext context,
java.lang.String messageId,
java.lang.Object[] params)
|
java.util.Iterator |
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> |
ListELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
Always returns null, since there is no reason to
iterate through set set of all integers. |
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. |
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> |
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> |
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 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<?> |
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<?> |
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. |
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. |
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<?> |
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<?> |
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.Object |
ValueExpression.getValue(ELContext context)
Evaluates the expression relative to the provided context, and returns the resulting value. |
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 |
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. |
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. |
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 |
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 |
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 |
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. |
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 |
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 |
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. |
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. |
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 |
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 |
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 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 |
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 |
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. |
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. |
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 |
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 |
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. |
| Constructors in javax.el with parameters of type ELContext | |
|---|---|
CompositeELResolver.CompositeIterator(java.util.Iterator<ELResolver> iter,
ELContext context,
java.lang.Object base)
|
|
ELContextEvent(ELContext source)
Constructs an ELContextEvent object to indicate that an ELContext has been created. |
|
| Uses of ELContext in javax.servlet.jsp |
|---|
| Methods in javax.servlet.jsp that return ELContext | |
|---|---|
abstract ELContext |
JspContext.getELContext()
Returns the ELContext associated with this
JspContext. |
| Uses of ELContext in javax.servlet.jsp.el |
|---|
| Methods in javax.servlet.jsp.el with parameters of type ELContext | |
|---|---|
java.lang.Class<java.lang.String> |
ScopedAttributeELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
If the base object is null, returns
String.class. |
java.lang.Class<java.lang.String> |
ImplicitObjectELResolver.getCommonPropertyType(ELContext context,
java.lang.Object base)
If the base object is null, returns
String.class. |
java.util.Iterator<java.beans.FeatureDescriptor> |
ScopedAttributeELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
If the base object is null, returns an
Iterator containing FeatureDescriptor objects
with information about each scoped attribute resolved by this
resolver. |
java.util.Iterator<java.beans.FeatureDescriptor> |
ImplicitObjectELResolver.getFeatureDescriptors(ELContext context,
java.lang.Object base)
If the base object is null, and the property matches
the name of a JSP implicit object, returns an Iterator
containing FeatureDescriptor objects with information
about each JSP implicit object resolved by this resolver. |
java.lang.Class<java.lang.Object> |
ScopedAttributeELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is null, returns
Object.class to indicate that any type is valid to
set for a scoped attribute. |
java.lang.Class |
ImplicitObjectELResolver.getType(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is null, and the property matches
the name of a JSP implicit object, returns null to
indicate that no types are ever accepted to setValue(). |
java.lang.Object |
ScopedAttributeELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is null, searches the page,
request, session and application scopes for an attribute with
the given name and returns it, or null if no
attribute exists with the current name. |
java.lang.Object |
ImplicitObjectELResolver.getValue(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is null, and the property matches
the name of a JSP implicit object, returns the implicit object. |
boolean |
ScopedAttributeELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is null, returns false
to indicate that scoped attributes are never read-only. |
boolean |
ImplicitObjectELResolver.isReadOnly(ELContext context,
java.lang.Object base,
java.lang.Object property)
If the base object is null, and the property matches
the name of a JSP implicit object, returns true
to indicate that implicit objects cannot be overwritten. |
void |
ScopedAttributeELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
If the base object is null, sets an existing scoped
attribute to the new value, or creates a new scoped attribute if one
does not exist by this name. |
void |
ImplicitObjectELResolver.setValue(ELContext context,
java.lang.Object base,
java.lang.Object property,
java.lang.Object val)
If the base object is null, and the property matches
the name of a JSP implicit object, throws
PropertyNotWritableException to indicate that implicit
objects cannot be overwritten. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||