org.apache.tapestry.parse
Class TokenType

java.lang.Object
  extended by org.apache.tapestry.parse.TokenType

public final class TokenType
extends Object

An enumeration of the different possible token types.

Author:
Howard Lewis Ship
See Also:
TemplateToken

Field Summary
static TokenType CLOSE
          The closing tag of an element.
static TokenType LOCALIZATION
          A reference to a localized string.
static TokenType OPEN
          The opening tag of an element.
static TokenType TEXT
          Raw HTML text.
 
Method Summary
 String getName()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEXT

public static final TokenType TEXT
Raw HTML text.

See Also:
TextToken

OPEN

public static final TokenType OPEN
The opening tag of an element.

See Also:
OpenToken

CLOSE

public static final TokenType CLOSE
The closing tag of an element.

See Also:
CloseToken

LOCALIZATION

public static final TokenType LOCALIZATION
A reference to a localized string.

Since:
2.0.4
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getName

public String getName()


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.