org.apache.tapestry5.internal.test
Class CaptureRenderedDocument
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptureRenderedDocument
public CaptureRenderedDocument(TestableResponse testableResponse)
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 writtenrenderer
- delegate to which the writer should be passed.
Copyright © 2003-2012 The Apache Software Foundation.