Class CaptureRenderedDocument
-
- org.apache.tapestry5.internal.test.CaptureRenderedDocument
-
- All Implemented Interfaces:
MarkupRendererFilter
public class CaptureRenderedDocument extends implements MarkupRendererFilter
Used to capture the rendered document from a traditional page render. InvokesTestableResponse.setRenderedDocument(org.apache.tapestry5.dom.Document)
.- Since:
- 5.1.0.0
-
-
Constructor Summary
Constructors Constructor Description CaptureRenderedDocument(TestableResponse testableResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
renderMarkup(MarkupWriter writer, MarkupRenderer renderer)
Implementations should perform work before or after passing the writer to the renderer.
-
-
-
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 interfaceMarkupRendererFilter
- Parameters:
writer
- to which markup should be writtenrenderer
- delegate to which the writer should be passed.
-
-