Class BlockImpl
- java.lang.Object
-
- org.apache.tapestry5.ioc.BaseLocatable
-
- org.apache.tapestry5.internal.structure.BlockImpl
-
- All Implemented Interfaces:
Block
,Locatable
,BodyPageElement
,RenderCommand
public class BlockImpl extends BaseLocatable implements Block, BodyPageElement, RenderCommand
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToBody(RenderCommand element)
Used during the construction of the page.void
render(MarkupWriter writer, RenderQueue queue)
Pushes all the elements of the body of this block onto the queue in appropriate order.String
toString()
-
Methods inherited from class org.apache.tapestry5.ioc.BaseLocatable
getLocation
-
-
-
-
Method Detail
-
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 interfaceBodyPageElement
-
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 interfaceRenderCommand
-
-