org.thymeleaf.standard.expression
Class Expression
Object
org.thymeleaf.standard.expression.Expression
- All Implemented Interfaces:
- Serializable, IStandardExpression
- Direct Known Subclasses:
- ComplexExpression, SimpleExpression
public abstract class Expression
- extends Object
- implements IStandardExpression, Serializable
- Since:
- 1.1
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
PARSING_PLACEHOLDER_CHAR
public static final char PARSING_PLACEHOLDER_CHAR
- See Also:
- Constant Field Values
NESTING_START_CHAR
public static final char NESTING_START_CHAR
- See Also:
- Constant Field Values
NESTING_END_CHAR
public static final char NESTING_END_CHAR
- See Also:
- Constant Field Values
Expression
protected Expression()
getStringRepresentation
public abstract String getStringRepresentation()
- Description copied from interface:
IStandardExpression
Obtain a string representation of the expression.
- Specified by:
getStringRepresentation
in interface IStandardExpression
- Returns:
- the String representation
toString
public String toString()
- Overrides:
toString
in class Object
execute
public Object execute(Configuration configuration,
IProcessingContext processingContext)
- Description copied from interface:
IStandardExpression
Execute the expression.
- Specified by:
execute
in interface IStandardExpression
- 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
public Object execute(Configuration configuration,
IProcessingContext processingContext,
StandardExpressionExecutionContext expContext)
- Description copied from interface:
IStandardExpression
Execute the expression.
- Specified by:
execute
in interface IStandardExpression
- 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 © 2014 The THYMELEAF team. All Rights Reserved.