org.apache.tapestry5.internal.parser
Class BlockToken
java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.parser.TemplateToken
org.apache.tapestry5.internal.parser.BlockToken
- All Implemented Interfaces:
- Locatable
public class BlockToken
- extends TemplateToken
A block, used to enclose a chunk of template (including components) and control when or if the content is rendered.
Method Summary |
String |
getId()
Returns the block's template-unique id, or null if the block element did not specify an id. |
String |
toString()
|
BlockToken
public BlockToken(String id,
Location location)
- Parameters:
id
- the id of the block, or null for an anonymous blocklocation
- of the block element
getId
public String getId()
- Returns the block's template-unique id, or null if the block element did not specify an id.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 The Apache Software Foundation.