public final class VariableExpression extends SimpleExpression implements IStandardVariableExpression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
Constructor and Description |
---|
VariableExpression(String expression) |
VariableExpression(String expression,
boolean convertToString) |
Modifier and Type | Method and Description |
---|---|
Object |
getCachedExpression() |
boolean |
getConvertToString() |
String |
getExpression() |
String |
getStringRepresentation()
Obtain a string representation of the expression.
|
boolean |
getUseSelectionAsRoot() |
void |
setCachedExpression(Object cachedExpression) |
execute, execute, toString
public VariableExpression(String expression)
public VariableExpression(String expression, boolean convertToString)
expression
- expressionconvertToString
- convertToStringpublic String getExpression()
getExpression
in interface IStandardVariableExpression
public boolean getUseSelectionAsRoot()
getUseSelectionAsRoot
in interface IStandardVariableExpression
public boolean getConvertToString()
public Object getCachedExpression()
public void setCachedExpression(Object cachedExpression)
public String getStringRepresentation()
IStandardExpression
Obtain a string representation of the expression.
getStringRepresentation
in interface IStandardExpression
getStringRepresentation
in class Expression
Copyright © 2017 The THYMELEAF team. All rights reserved.