public class ELAttributeEvaluator extends AbstractAttributeEvaluator
Request
, ApplicationContext
and beans
contained in request, session and application scope.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ELAttributeEvaluator()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(String expression,
org.apache.tiles.request.Request request)
Evaluates an expression.
|
void |
setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
Sets the expression factory to use.
|
void |
setResolver(javax.el.ELResolver resolver)
Sets the EL resolver to use.
|
evaluate
public static final String EXPRESSION_FACTORY_FACTORY_INIT_PARAM
ExpressionFactoryFactory
.protected javax.el.ExpressionFactory expressionFactory
protected javax.el.ELResolver resolver
public void setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
expressionFactory
- The expression factory.public void setResolver(javax.el.ELResolver resolver)
resolver
- The EL resolver.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.