Package | Description |
---|---|
javax.el |
Provides the API for the Unified Expression Language 3.0
|
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.3 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).
|
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 EL expressions.
|
Modifier and Type | Method and Description |
---|---|
void |
EvaluationListener.afterEvaluation(ELContext context,
String expression)
Receives notification after an EL expression is evaluated
|
void |
EvaluationListener.beforeEvaluation(ELContext context,
String expression)
Receives notification before an EL expression is evaluated
|
abstract Object |
TypeConverter.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.
|
Object |
CompositeELResolver.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<?> |
TypeConverter.getCommonPropertyType(ELContext context,
Object base) |
Class<?> |
StaticFieldELResolver.getCommonPropertyType(ELContext context,
Object base)
Returns the type of the property.
|
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<?> |
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<?> |
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> |
TypeConverter.getFeatureDescriptors(ELContext context,
Object base) |
Iterator<FeatureDescriptor> |
StaticFieldELResolver.getFeatureDescriptors(ELContext context,
Object base)
Returns the properties that can be resolved.
|
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> |
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> |
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<?> |
TypeConverter.getType(ELContext context,
Object base,
Object property) |
Class<?> |
StaticFieldELResolver.getType(ELContext context,
Object base,
Object property)
Returns the type of a static field.
|
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<?> |
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<?> |
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 |
TypeConverter.getValue(ELContext context,
Object base,
Object property) |
Object |
StaticFieldELResolver.getValue(ELContext context,
Object base,
Object property)
Returns the value of a static field.
|
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 |
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 |
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. |
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 |
StaticFieldELResolver.invoke(ELContext context,
Object base,
Object method,
Class<?>[] paramTypes,
Object[] params)
Invokes a public static method or the constructor for a class.
|
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)
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 |
TypeConverter.isReadOnly(ELContext context,
Object base,
Object property) |
boolean |
StaticFieldELResolver.isReadOnly(ELContext context,
Object base,
Object property)
Inquires whether the static field is writable.
|
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 |
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 |
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. |
void |
EvaluationListener.propertyResolved(ELContext context,
Object base,
Object property)
Receives notification when the (base, property) pair is resolved
|
void |
LambdaExpression.setELContext(ELContext context)
Set the ELContext to use in evaluating the LambdaExpression.
|
ELContext |
ELManager.setELContext(ELContext context)
Set the ELContext used for parsing and evaluating EL expressions.
|
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 |
TypeConverter.setValue(ELContext context,
Object base,
Object property,
Object value) |
void |
StaticFieldELResolver.setValue(ELContext context,
Object base,
Object property,
Object value)
Attempts to write to a static field.
|
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 |
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 |
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. |
StandardELContext(ELContext context)
Construct a StandardELContext from another ELContext.
|
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) |
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.