Interface IStandardVariableExpressionEvaluator
-
- All Known Implementing Classes:
OGNLVariableExpressionEvaluator
public interface IStandardVariableExpressionEvaluator
Common interface for all objects in charge of executing variable expressions (
${...}
) inside Thymeleaf Standard Expressions.The basic implementation of this interface evaluates expressions using OGNL
OGNLVariableExpressionEvaluator
, but a SpringEL version also exists in the Thymeleaf + Spring integration package.Implementations of this interface should be thread-safe.
Note a class with this name existed since 2.0.9, but it was completely reimplemented in Thymeleaf 3.0
- Since:
- 3.0.0
- Author:
- Daniel Fernández
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
evaluate(IExpressionContext context, IStandardVariableExpression expression, StandardExpressionExecutionContext expContext)
Evaluate the variable expression.
-
-
-
Method Detail
-
evaluate
Object evaluate(IExpressionContext context, IStandardVariableExpression expression, StandardExpressionExecutionContext expContext)
Evaluate the variable expression.
- Parameters:
context
- the context object.expression
- the standard variable expression to be evaluated.expContext
- the expression execution context to be applied (preprocessing, etc.)- Returns:
- the result of evaluating the expression.
-
-