org.apache.tapestry5.internal.parser
Class ExpansionToken

java.lang.Object
  extended by org.apache.tapestry5.ioc.BaseLocatable
      extended by org.apache.tapestry5.internal.parser.TemplateToken
          extended by 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
ExpansionToken(String expression, Location location)
           
 
Method Summary
 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


Copyright © 2003-2012 The Apache Software Foundation.