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 classToken.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 StringgetStringRepresentation()Obtain a string representation of the expression.ObjectgetValue()static booleanisTokenChar(String context, int pos)StringtoString()-
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:IStandardExpressionObtain a string representation of the expression.
- Specified by:
getStringRepresentationin interfaceIStandardExpression- Specified by:
getStringRepresentationin classExpression- Returns:
- the String representation
-
toString
public String toString()
- Overrides:
toStringin classExpression
-
isTokenChar
public static boolean isTokenChar(String context, int pos)
-
-