Class NumberTokenExpression
- Object
-
- org.thymeleaf.standard.expression.Expression
-
- org.thymeleaf.standard.expression.SimpleExpression
-
- org.thymeleaf.standard.expression.Token
-
- org.thymeleaf.standard.expression.NumberTokenExpression
-
- All Implemented Interfaces:
Serializable
,IStandardExpression
public final class NumberTokenExpression extends Token
Number token (Thymeleaf Standard Expressions)
Note a class with this name existed since 1.1, but it was completely reimplemented in Thymeleaf 3.0
- Since:
- 3.0.0
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.thymeleaf.standard.expression.Token
Token.TokenParsingTracer
-
-
Field Summary
Fields Modifier and Type Field Description static char
DECIMAL_POINT
-
Fields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
-
-
Constructor Summary
Constructors Constructor Description NumberTokenExpression(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStringRepresentation()
Obtain a string representation of the expression.-
Methods inherited from class org.thymeleaf.standard.expression.Token
getValue, isTokenChar, toString
-
Methods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute
-
-
-
-
Field Detail
-
DECIMAL_POINT
public static final char DECIMAL_POINT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
NumberTokenExpression
public NumberTokenExpression(String value)
-
-
Method Detail
-
getStringRepresentation
public String getStringRepresentation()
Description copied from interface:IStandardExpression
Obtain a string representation of the expression.
- Specified by:
getStringRepresentation
in interfaceIStandardExpression
- Overrides:
getStringRepresentation
in classToken
- Returns:
- the String representation
-
-