org.thymeleaf.standard.expression
Interface IStandardExpression

All Known Implementing Classes:
AdditionExpression, AdditionSubtractionExpression, AndExpression, BinaryOperationExpression, BooleanTokenExpression, ComplexExpression, ConditionalExpression, DefaultExpression, DivisionExpression, EqualsExpression, EqualsNotEqualsExpression, Expression, GenericTokenExpression, GreaterLesserExpression, GreaterOrEqualToExpression, GreaterThanExpression, LessOrEqualToExpression, LessThanExpression, LinkExpression, MessageExpression, MinusExpression, MultiplicationDivisionRemainderExpression, MultiplicationExpression, NegationExpression, NotEqualsExpression, NullTokenExpression, NumberTokenExpression, OrExpression, RemainderExpression, SelectionVariableExpression, SimpleExpression, SubtractionExpression, TextLiteralExpression, Token, VariableExpression

public interface IStandardExpression

Common 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.

Since:
2.1.0
Author:
Daniel Fernández

Method Summary
 Object execute(Configuration configuration, IProcessingContext processingContext)
           Execute the expression.
 Object execute(Configuration configuration, IProcessingContext processingContext, StandardExpressionExecutionContext expContext)
           Execute the expression.
 String getStringRepresentation()
           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(Configuration configuration,
               IProcessingContext processingContext)

Execute the expression.

Parameters:
configuration - the Configuration object for the template execution environment.
processingContext - the processing context object containing the variables to be applied to the expression.
Returns:
the result of executing the expression.

execute

Object execute(Configuration configuration,
               IProcessingContext processingContext,
               StandardExpressionExecutionContext expContext)

Execute the expression.

Parameters:
configuration - the Configuration object for the template execution environment.
processingContext - the processing context object containing the variables to be applied to the expression.
expContext - the expression execution context to be applied (preprocessing, etc.)
Returns:
the result of executing the expression.


Copyright © 2013 The THYMELEAF team. All Rights Reserved.