Class VariableExpression
Object
org.thymeleaf.standard.expression.Expression
org.thymeleaf.standard.expression.SimpleExpression
org.thymeleaf.standard.expression.VariableExpression
- All Implemented Interfaces:
Serializable
,IStandardExpression
,IStandardVariableExpression
public final class VariableExpression
extends SimpleExpression
implements IStandardVariableExpression
- Since:
- 1.1
- Author:
- Daniel Fernández
- See Also:
-
Field Summary
Fields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
-
Constructor Summary
ConstructorDescriptionVariableExpression
(String expression) VariableExpression
(String expression, boolean convertToString) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Obtain a string representation of the expression.boolean
void
setCachedExpression
(Object cachedExpression) Methods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute, toString
-
Constructor Details
-
VariableExpression
-
VariableExpression
- Parameters:
expression
- expressionconvertToString
- convertToString- Since:
- 2.1.0
-
-
Method Details
-
getExpression
- Specified by:
getExpression
in interfaceIStandardVariableExpression
-
getUseSelectionAsRoot
public boolean getUseSelectionAsRoot()- Specified by:
getUseSelectionAsRoot
in interfaceIStandardVariableExpression
-
getConvertToString
public boolean getConvertToString()- Returns:
- the result
- Since:
- 2.1.0
-
getCachedExpression
-
setCachedExpression
-
getStringRepresentation
Description copied from interface:IStandardExpression
Obtain a string representation of the expression.
- Specified by:
getStringRepresentation
in interfaceIStandardExpression
- Specified by:
getStringRepresentation
in classExpression
- Returns:
- the String representation
-