org.thymeleaf.standard.expression
Class Token

Object
  extended by org.thymeleaf.standard.expression.Expression
      extended by org.thymeleaf.standard.expression.SimpleExpression
          extended by org.thymeleaf.standard.expression.Token
All Implemented Interfaces:
Serializable, IStandardExpression
Direct Known Subclasses:
BooleanTokenExpression, GenericTokenExpression, NullTokenExpression, NumberTokenExpression

public abstract class Token
extends SimpleExpression

Since:
1.1
Author:
Daniel Fernández
See Also:
Serialized Form

Nested Class Summary
static class Token.TokenParsingTracer
           
 
Field Summary
 
Fields inherited from class org.thymeleaf.standard.expression.Expression
NESTING_END_CHAR, NESTING_START_CHAR, PARSING_PLACEHOLDER_CHAR
 
Constructor Summary
protected Token(Object value)
           
 
Method Summary
 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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 interface IStandardExpression
Specified by:
getStringRepresentation in class Expression
Returns:
the String representation

toString

public String toString()
Overrides:
toString in class Expression

isTokenChar

public static boolean isTokenChar(String context,
                                  int pos)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.