public final class OGNLVariableExpressionEvaluator extends Object implements IStandardVariableExpressionEvaluator
Evaluator for variable expressions (${...}) in Thymeleaf Standard Expressions, using the OGNL expression language.
Note a class with this name existed since 2.0.9, but it was completely reimplemented in Thymeleaf 3.0
Constructor and Description |
---|
OGNLVariableExpressionEvaluator(boolean applyOGNLShortcuts) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluate(IExpressionContext context,
IStandardVariableExpression expression,
StandardExpressionExecutionContext expContext)
Evaluate the variable expression.
|
String |
toString() |
public OGNLVariableExpressionEvaluator(boolean applyOGNLShortcuts)
public final Object evaluate(IExpressionContext context, IStandardVariableExpression expression, StandardExpressionExecutionContext expContext)
IStandardVariableExpressionEvaluator
Evaluate the variable expression.
evaluate
in interface IStandardVariableExpressionEvaluator
context
- the context object.expression
- the standard variable expression to be evaluated.expContext
- the expression execution context to be applied (preprocessing, etc.)Copyright © 2016 The THYMELEAF team. All rights reserved.