Package org.apache.tapestry5.internal.parser

## Class TemplateToken

- java.lang.Object
- - org.apache.tapestry5.ioc.BaseLocatable
  - - org.apache.tapestry5.internal.parser.TemplateToken

- All Implemented Interfaces:
    `Locatable`
  Direct Known Subclasses:
    `AttributeToken`, `BlockToken`, `BodyToken`, `CDATAToken`, `CommentToken`, `DefineNamespacePrefixToken`, `DTDToken`, `EndElementToken`, `ExpansionToken`, `ExtensionPointToken`, `ParameterToken`, `StartComponentToken`, `StartElementToken`, `TextToken`

      public abstract class TemplateToken
      extends BaseLocatable

  Base class for tokens parsed out of a template. The set of classes rooted here are effectively object encapsulations of the events generated by a SAX parser.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `TemplateToken​(TokenType tokenType, Location location)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `TokenType` | `getTokenType()` |

    - ### Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable

      `getLocation`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TemplateToken

          protected TemplateToken​(TokenType tokenType,
                                  Location location)

  - ### Method Detail

    - #### getTokenType

          public TokenType getTokenType()