org.apache.tapestry5.internal.structure
Class BlockImpl
java.lang.Object
org.apache.tapestry5.ioc.BaseLocatable
org.apache.tapestry5.internal.structure.BlockImpl
- All Implemented Interfaces:
- Block, BodyPageElement, Locatable, RenderCommand
public class BlockImpl
- extends BaseLocatable
- implements Block, BodyPageElement, RenderCommand
BlockImpl
public BlockImpl(Location location,
String description)
addToBody
public void addToBody(RenderCommand element)
- Description copied from interface:
BodyPageElement
- Used during the construction of the page. Adds a page element as part of the body of the component. The body of a
component is defined as the portion of the container's template directly enclosed by component's start and end
elements.
- Specified by:
addToBody
in interface BodyPageElement
render
public void render(MarkupWriter writer,
RenderQueue queue)
- Pushes all the elements of the body of this block onto the queue in appropriate order.
- Specified by:
render
in interface RenderCommand
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2012 The Apache Software Foundation.