public class ELAttributeEvaluator extends AbstractAttributeEvaluator implements TilesApplicationContextAware
TilesRequestContext, TilesApplicationContext and beans
contained in request, session and application scope.| Modifier and Type | Field and Description |
|---|---|
protected TilesApplicationContext |
applicationContext
The Tiles application context.
|
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,
TilesRequestContext request)
Evaluates an expression.
|
void |
init(Map<String,String> initParameters)
Initializes the attribute evaluator.
|
void |
setApplicationContext(TilesApplicationContext applicationContext)
Sets the Tiles application context.
|
void |
setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
Sets the expression factory to use.
|
void |
setResolver(javax.el.ELResolver resolver)
Sets the EL resolver to use.
|
evaluatepublic static final String EXPRESSION_FACTORY_FACTORY_INIT_PARAM
ExpressionFactoryFactory.protected TilesApplicationContext applicationContext
protected javax.el.ExpressionFactory expressionFactory
protected javax.el.ELResolver resolver
public void init(Map<String,String> initParameters)
init in interface AttributeEvaluatorinitParameters - The initialization parameters.public void setApplicationContext(TilesApplicationContext applicationContext)
setApplicationContext in interface TilesApplicationContextAwareapplicationContext - The Tiles application context.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, TilesRequestContext request)
evaluate in interface AttributeEvaluatorexpression - The expression to evaluate.request - The request object.Copyright © 2025. All rights reserved.