Interface IStandardExpression
-
- All Known Implementing Classes:
AdditionExpression,AdditionSubtractionExpression,AndExpression,BinaryOperationExpression,BooleanTokenExpression,ComplexExpression,ConditionalExpression,DefaultExpression,DivisionExpression,EqualsExpression,EqualsNotEqualsExpression,Expression,FragmentExpression,GenericTokenExpression,GreaterLesserExpression,GreaterOrEqualToExpression,GreaterThanExpression,LessOrEqualToExpression,LessThanExpression,LinkExpression,MessageExpression,MinusExpression,MultiplicationDivisionRemainderExpression,MultiplicationExpression,NegationExpression,NoOpTokenExpression,NotEqualsExpression,NullTokenExpression,NumberTokenExpression,OrExpression,RemainderExpression,SelectionVariableExpression,SimpleExpression,SubtractionExpression,TextLiteralExpression,Token,VariableExpression
public interface IStandardExpressionCommon interface for all Thymeleaf Standard Expression objects.
Objects implementing this inteface are obtained by calling the parsing methods in parser objects (implementations of
IStandardExpressionParser).Default implementation (used by most of the Thymeleaf core):
Expression.Note a class with this name existed since 2.1.0, 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 Objectexecute(IExpressionContext context)Execute the expression.Objectexecute(IExpressionContext context, StandardExpressionExecutionContext expContext)Execute the expression.StringgetStringRepresentation()Obtain a string representation of the expression.
-
-
-
Method Detail
-
getStringRepresentation
String getStringRepresentation()
Obtain a string representation of the expression.
- Returns:
- the String representation
-
execute
Object execute(IExpressionContext context)
Execute the expression.
- Parameters:
context- the context object.- Returns:
- the result of executing the expression.
-
execute
Object execute(IExpressionContext context, StandardExpressionExecutionContext expContext)
Execute the expression.
- Parameters:
context- the context object.expContext- the expression execution context to be applied (preprocessing, etc.)- Returns:
- the result of executing the expression.
-
-