Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`BlockToken(java.lang.String id, Location location)`

Method Summary
`java.lang.String` | `getId()` Returns the block's template-unique id, or null if the block element did not specify an id.
`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

### BlockToken

    public BlockToken(java.lang.String id,
                      Location location)

Parameters:
  `id` - the id of the block, or null for an anonymous block
  `location` - of the block element

Method Detail

### getId

    public java.lang.String getId()

  Returns the block's template-unique id, or null if the block element did not specify an id.

### toString

    public java.lang.String toString()

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.