| Package | Description |
|---|---|
| javax.el |
Provides the API for the Unified Expression Language shared by
the JSP 2.1 and JSF 1.2 technologies.
|
| javax.faces.context |
Classes and interfaces
defining per-request state information.
|
| javax.faces.view.facelets |
This package contains public classes for the Java code API of Facelets. |
| javax.faces.webapp |
Classes required for integration of
JavaServer Faces into web applications, including a standard servlet,
base classes for JSP custom component
tags, and concrete tag implementations for core tags.
|
| 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. |
| javax.servlet.jsp.jstl.core |
Classes and interfaces related to the core tag library component of the JavaServer Pages Standard Tag Library (JSTL).
|
| org.apache.taglibs.standard.lang.jstl.test |
| 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 |
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(javax.el.ELContext, java.lang.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(javax.el.ELContext, java.lang.Object, java.lang.Object, 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. |
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)
Attemps 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)
Attemps 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(javax.el.ELContext, java.lang.Object) will
always fail. |
boolean |
ResourceBundleELResolver.isReadOnly(ELContext context,
Object base,
Object property)
If the base object is not null and an instanceof
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(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. |
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 |
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. |
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 |
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. |
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 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,
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.
|
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 val)
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 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,
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.
|
| Constructor and Description |
|---|
ELContextEvent(ELContext source)
Constructs an ELContextEvent object to indicate that an
ELContext has been created. |
| Modifier and Type | Method and Description |
|---|---|
ELContext |
FacesContextWrapper.getELContext()
The default behavior of this method is to
call
FacesContext.getELContext()
on the wrapped FacesContext object. |
ELContext |
FacesContext.getELContext()
Return the
ELContext instance for this
FacesContext instance. |
| Modifier and Type | Class and Description |
|---|---|
class |
FaceletContext
Context representative of a single request from a Facelet. |
| Modifier and Type | Method and Description |
|---|---|
protected ELContext |
UIComponentTagBase.getELContext()
Return the
ELContext for the FacesContext for
this request. |
protected ELContext |
UIComponentELTag.getELContext()
Return the
ELContext for the FacesContext for
this request. |
| Modifier and Type | Method and Description |
|---|---|
abstract ELContext |
JspContext.getELContext()
Returns the
ELContext associated with this
JspContext. |
| Modifier and Type | Method and Description |
|---|---|
Class<String> |
ScopedAttributeELResolver.getCommonPropertyType(ELContext context,
Object base)
If the base object is
null, returns
String.class. |
Class<String> |
ImplicitObjectELResolver.getCommonPropertyType(ELContext context,
Object base)
If the base object is
null, returns
String.class. |
Iterator<FeatureDescriptor> |
ScopedAttributeELResolver.getFeatureDescriptors(ELContext context,
Object base)
If the base object is
null, returns an
Iterator containing FeatureDescriptor objects
with information about each scoped attribute resolved by this
resolver. |
Iterator<FeatureDescriptor> |
ImplicitObjectELResolver.getFeatureDescriptors(ELContext context,
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. |
Class<Object> |
ScopedAttributeELResolver.getType(ELContext context,
Object base,
Object property)
If the base object is
null, returns
Object.class to indicate that any type is valid to
set for a scoped attribute. |
Class |
ImplicitObjectELResolver.getType(ELContext context,
Object base,
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(). |
Object |
ScopedAttributeELResolver.getValue(ELContext context,
Object base,
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. |
Object |
ImplicitObjectELResolver.getValue(ELContext context,
Object base,
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,
Object base,
Object property)
If the base object is
null, returns false
to indicate that scoped attributes are never read-only. |
boolean |
ImplicitObjectELResolver.isReadOnly(ELContext context,
Object base,
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,
Object base,
Object property,
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,
Object base,
Object property,
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. |
| Modifier and Type | Method and Description |
|---|---|
Object |
IteratedExpression.getItem(ELContext context,
int i)
Evaluates the stored ValueExpression and return the indexed item.
|
Class |
IteratedValueExpression.getType(ELContext context) |
Class |
IndexedValueExpression.getType(ELContext context) |
Object |
IteratedValueExpression.getValue(ELContext context) |
Object |
IndexedValueExpression.getValue(ELContext context) |
boolean |
IteratedValueExpression.isReadOnly(ELContext context) |
boolean |
IndexedValueExpression.isReadOnly(ELContext context) |
void |
IteratedValueExpression.setValue(ELContext context,
Object value) |
void |
IndexedValueExpression.setValue(ELContext context,
Object value) |
| Modifier and Type | Method and Description |
|---|---|
ELContext |
PageContextImpl.getELContext() |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.