org.apache.tapestry5.internal.util
Class RenderableAsBlock
java.lang.Object
org.apache.tapestry5.internal.util.RenderableAsBlock
- All Implemented Interfaces:
- Block, RenderCommand
public class RenderableAsBlock
- extends Object
- implements Block, RenderCommand
Allows any Renderable object to act as a Block. Basically,
dressed up the Renderable with the Block interface, and delegates the Renderable
interface to the underlying renderable object.
RenderableAsBlock
public RenderableAsBlock(Renderable renderable)
render
public void render(MarkupWriter writer,
RenderQueue queue)
- Invokes
Renderable.render(org.apache.tapestry5.MarkupWriter).
- Specified by:
render in interface RenderCommand
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2003-2012 The Apache Software Foundation.