public abstract class Expression extends Object implements IStandardExpression, Serializable
Modifier and Type | Field and Description |
---|---|
static char |
NESTING_END_CHAR |
static char |
NESTING_START_CHAR |
static char |
PARSING_PLACEHOLDER_CHAR |
Modifier | Constructor and Description |
---|---|
protected |
Expression() |
Modifier and Type | Method and Description |
---|---|
Object |
execute(Configuration configuration,
IProcessingContext processingContext)
Execute the expression.
|
Object |
execute(Configuration configuration,
IProcessingContext processingContext,
StandardExpressionExecutionContext expContext)
Execute the expression.
|
abstract String |
getStringRepresentation()
Obtain a string representation of the expression.
|
String |
toString() |
public static final char PARSING_PLACEHOLDER_CHAR
public static final char NESTING_START_CHAR
public static final char NESTING_END_CHAR
public abstract String getStringRepresentation()
IStandardExpression
Obtain a string representation of the expression.
getStringRepresentation
in interface IStandardExpression
public Object execute(Configuration configuration, IProcessingContext processingContext)
IStandardExpression
Execute the expression.
execute
in interface IStandardExpression
configuration
- the Configuration object for the template execution environment.processingContext
- the processing context object containing the variables to be applied to the expression.public Object execute(Configuration configuration, IProcessingContext processingContext, StandardExpressionExecutionContext expContext)
IStandardExpression
Execute the expression.
execute
in interface IStandardExpression
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.)Copyright © 2016 The THYMELEAF team. All rights reserved.