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
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(IExpressionContext context,
IStandardVariableExpression expression,
StandardExpressionExecutionContext expContext)
Evaluate the variable expression.
|
Object evaluate(IExpressionContext context, IStandardVariableExpression expression, StandardExpressionExecutionContext expContext)
Evaluate the variable expression.
context
- the context object.expression
- the standard variable expression to be evaluated.expContext
- the expression execution context to be applied (preprocessing, etc.)Copyright © 2017 The THYMELEAF team. All rights reserved.