Class Token
- Object
-
- org.thymeleaf.standard.expression.Expression
-
- org.thymeleaf.standard.expression.SimpleExpression
-
- org.thymeleaf.standard.expression.Token
-
- All Implemented Interfaces:
Serializable
,IStandardExpression
- Direct Known Subclasses:
BooleanTokenExpression
,GenericTokenExpression
,NoOpTokenExpression
,NullTokenExpression
,NumberTokenExpression
public abstract class Token extends SimpleExpression
- Since:
- 1.1
- Author:
- Daniel Fernández
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Token.TokenParsingTracer
-
Field Summary
-
Fields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getStringRepresentation()
Obtain a string representation of the expression.Object
getValue()
static boolean
isTokenChar(String context, int pos)
String
toString()
-
Methods inherited from class org.thymeleaf.standard.expression.Expression
execute, execute
-
-
-
-
Constructor Detail
-
Token
protected Token(Object value)
-
-
Method Detail
-
getValue
public Object getValue()
-
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
-
toString
public String toString()
- Overrides:
toString
in classExpression
-
isTokenChar
public static boolean isTokenChar(String context, int pos)
-
-