|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tiles.evaluator.AbstractAttributeEvaluator
org.apache.tiles.el.ELAttributeEvaluator
public class ELAttributeEvaluator
Evaluates string expression with typical EL syntax.
You can use normal EL syntax, knowing that the root objects are
Request, ApplicationContext and beans
contained in request, session and application scope.
| Field Summary | |
|---|---|
static String |
EXPRESSION_FACTORY_FACTORY_INIT_PARAM
Initialization parameter to decide the implementation of ExpressionFactoryFactory. |
protected javax.el.ExpressionFactory |
expressionFactory
The EL expression factory. |
protected javax.el.ELResolver |
resolver
The EL resolver to use. |
| Constructor Summary | |
|---|---|
ELAttributeEvaluator()
Constructor. |
|
| Method Summary | |
|---|---|
Object |
evaluate(String expression,
org.apache.tiles.request.Request request)
|
void |
setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
Sets the expression factory to use. |
void |
setResolver(javax.el.ELResolver resolver)
Sets the EL resolver to use. |
| Methods inherited from class org.apache.tiles.evaluator.AbstractAttributeEvaluator |
|---|
evaluate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String EXPRESSION_FACTORY_FACTORY_INIT_PARAM
ExpressionFactoryFactory.
protected javax.el.ExpressionFactory expressionFactory
protected javax.el.ELResolver resolver
| Constructor Detail |
|---|
public ELAttributeEvaluator()
| Method Detail |
|---|
public void setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
expressionFactory - The expression factory.public void setResolver(javax.el.ELResolver resolver)
resolver - The EL resolver.
public Object evaluate(String expression,
org.apache.tiles.request.Request request)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||