Class SelectionVariableExpression
- Object
-
- org.thymeleaf.standard.expression.Expression
-
- org.thymeleaf.standard.expression.SimpleExpression
-
- org.thymeleaf.standard.expression.SelectionVariableExpression
-
- All Implemented Interfaces:
Serializable
,IStandardExpression
,IStandardVariableExpression
public final class SelectionVariableExpression extends SimpleExpression implements IStandardVariableExpression
- Since:
- 1.1
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
-
-
Constructor Summary
Constructors Constructor Description SelectionVariableExpression(String expression)
SelectionVariableExpression(String expression, boolean convertToString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getCachedExpression()
boolean
getConvertToString()
String
getExpression()
String
getStringRepresentation()
Obtain a string representation of the expression.boolean
getUseSelectionAsRoot()
void
setCachedExpression(Object cachedExpression)
-
Methods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute, toString
-
-
-
-
Method Detail
-
getExpression
public String 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
public Object getCachedExpression()
-
setCachedExpression
public void setCachedExpression(Object cachedExpression)
-
getStringRepresentation
public String 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
-
-