org.apache.tapestry5.services.ajax
Class SingleZonePartialRendererFilter

java.lang.Object
  extended by org.apache.tapestry5.services.ajax.SingleZonePartialRendererFilter
All Implemented Interfaces:
PartialMarkupRendererFilter

public class SingleZonePartialRendererFilter
extends Object
implements PartialMarkupRendererFilter

Responsible for capturing the content for a single zone and storing it into the JSON reply object.

Since:
5.1.0.1
See Also:
MultiZoneUpdate

Constructor Summary
SingleZonePartialRendererFilter(String zoneId, RenderCommand zoneRenderCommand, PageRenderQueue queue)
           
 
Method Summary
 void renderMarkup(MarkupWriter writer, JSONObject reply, PartialMarkupRenderer renderer)
          Implementations should perform work before or after passing the writer to the renderer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleZonePartialRendererFilter

public SingleZonePartialRendererFilter(String zoneId,
                                       RenderCommand zoneRenderCommand,
                                       PageRenderQueue queue)
Method Detail

renderMarkup

public void renderMarkup(MarkupWriter writer,
                         JSONObject reply,
                         PartialMarkupRenderer renderer)
Description copied from interface: PartialMarkupRendererFilter
Implementations should perform work before or after passing the writer to the renderer.

Specified by:
renderMarkup in interface PartialMarkupRendererFilter
Parameters:
writer - to which markup should be written
reply - JSONObject which will contain the partial response
renderer - delegate to which the writer should be passed


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