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(String expression, Location location)`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### ExpansionToken

    public ExpansionToken(String expression, Location location)

- ## Method Details

  - ### getExpression

    public String getExpression()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`