Package 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 | Description
    --- | ---
    `ExpansionToken​(java.lang.String expression, Location location)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getExpression()` |
    `java.lang.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​(java.lang.String expression,
                                Location location)

  - ### Method Detail

    - #### getExpression

          public java.lang.String getExpression()

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`