org.apache.tapestry5.internal.parser

## Class ExpansionToken

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

- All Implemented Interfaces:
    Locatable

      public class ExpansionToken
      extends TemplateToken

  A token containing an expression expansion from the template. Expression expansions look like Ant variables, i.e., "${xyz}", where xyz is a binding expression. It may have a prefix or not ("prop:" will be the default prefix if not specified).

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ExpansionToken(String expression, Location location)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getExpression()`
    `String` | `toString()`

    - ### Methods inherited from class org.apache.tapestry5.internal.parser.TemplateToken

      `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, wait, wait, wait`

- - ### Constructor Detail

    - #### ExpansionToken

          public ExpansionToken(String expression,
                        Location location)

  - ### Method Detail

    - #### getExpression

          public String getExpression()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.