org.apache.tapestry5.internal.test
Class CaptureRenderedDocument

java.lang.Object
  extended by org.apache.tapestry5.internal.test.CaptureRenderedDocument
All Implemented Interfaces:
MarkupRendererFilter

public class CaptureRenderedDocument
extends Object
implements MarkupRendererFilter

Used to capture the rendered document from a traditional page render. Invokes TestableResponse.setRenderedDocument(org.apache.tapestry5.dom.Document).

Since:
5.1.0.0

Constructor Summary
CaptureRenderedDocument(TestableResponse testableResponse)
           
 
Method Summary
 void renderMarkup(MarkupWriter writer, MarkupRenderer 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

CaptureRenderedDocument

public CaptureRenderedDocument(TestableResponse testableResponse)
Method Detail

renderMarkup

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

Specified by:
renderMarkup in interface MarkupRendererFilter
Parameters:
writer - to which markup should be written
renderer - delegate to which the writer should be passed.


Copyright © 2003-2012 The Apache Software Foundation.