org.apache.tiles.mvel
Class MVELAttributeEvaluator
java.lang.Object
org.apache.tiles.evaluator.AbstractAttributeEvaluator
org.apache.tiles.mvel.MVELAttributeEvaluator
- All Implemented Interfaces:
- AttributeEvaluator
public class MVELAttributeEvaluator
- extends AbstractAttributeEvaluator
Allows to use MVEL as the language to evaluate attribute values.
- Since:
- 2.2.0
- Version:
- $Rev: 833737 $ $Date: 2009-11-07 14:17:09 -0500 (Sat, 07 Nov 2009) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MVELAttributeEvaluator
public MVELAttributeEvaluator(TilesRequestContextHolder requestHolder,
org.mvel2.integration.VariableResolverFactory variableResolverFactory)
- Constructor.
- Parameters:
requestHolder - The object that holds the Tiles request context of
the current thread.variableResolverFactory - The resolver factory to use.- Since:
- 2.2.0
evaluate
public Object evaluate(String expression,
org.apache.tiles.request.Request request)
-
Copyright © 2001-2012 Apache Software Foundation. All Rights Reserved.