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
ConstructorsConstructorDescriptionVariableExpression(String expression) VariableExpression(String expression, boolean convertToString) -
Method Summary
Modifier and TypeMethodDescriptionbooleanObtain a string representation of the expression.booleanvoidsetCachedExpression(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:
getExpressionin interfaceIStandardVariableExpression
-
getUseSelectionAsRoot
public boolean getUseSelectionAsRoot()- Specified by:
getUseSelectionAsRootin interfaceIStandardVariableExpression
-
getConvertToString
public boolean getConvertToString()- Returns:
- the result
- Since:
- 2.1.0
-
getCachedExpression
-
setCachedExpression
-
getStringRepresentation
Description copied from interface:IStandardExpressionObtain a string representation of the expression.
- Specified by:
getStringRepresentationin interfaceIStandardExpression- Specified by:
getStringRepresentationin classExpression- Returns:
- the String representation
-