|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
---|---|
Object |
evaluate(Configuration configuration,
IProcessingContext processingContext,
String expression,
StandardExpressionExecutionContext expContext,
boolean useSelectionAsRoot)
Evaluate the variable expression. |
Method Detail |
---|
Object evaluate(Configuration configuration, IProcessingContext processingContext, String expression, StandardExpressionExecutionContext expContext, boolean useSelectionAsRoot)
Evaluate the variable expression.
configuration
- the Configuration object for the template execution environment.processingContext
- the processing context object containing the variables to be applied to the expression.expression
- the expression to be evaluated (as a String).expContext
- the expression execution context to be applied (preprocessing, etc.)useSelectionAsRoot
- specify whether this is a variable expression (${...}, false) or a
selection variable expression (*{...}, true).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |