org.apache.tapestry5.runtime
Interface RenderQueue

All Known Implementing Classes:
RenderQueueImpl

public interface RenderQueue

A stateful object that manages the process of rendering a page. Rending a page in Tapestry is based on a command queue.


Method Summary
 void endComponent()
          Corresponds to #startComponent(String), used to denote when the most recently started component finishes rendering.
 void push(RenderCommand command)
          Adds the new command to the front of the queue.
 void startComponent(ComponentResources resources)
          Indicates that a component is starting its render.
 

Method Detail

push

void push(RenderCommand command)
Adds the new command to the front of the queue.


startComponent

void startComponent(ComponentResources resources)
Indicates that a component is starting its render. A stack of active components is used for exception reporting.

Parameters:
resources - identifies the component that is rendering

endComponent

void endComponent()
Corresponds to #startComponent(String), used to denote when the most recently started component finishes rendering.



Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.