Interface SVGReportOutput.OutputHandler
- Enclosing class:
- SVGReportOutput
public static interface SVGReportOutput.OutputHandler
An interface which can be set on an
SVGReportOutput
to control
where the individual pages are written. If the SVG is to be written
as multiple files, an instance of this interface must be passed to
SVGReportOutput.setOutputHandler(org.faceless.publisher.output.svg.SVGReportOutput.OutputHandler)
which returns the appropriate OutputStream
for each page.-
Method Summary
Modifier and TypeMethodDescriptiongetOutputStream
(int pagenumber, String id) Return the OutputStream to write the SVG to
-
Method Details
-
getOutputStream
Return the OutputStream to write the SVG to- Parameters:
pagenumber
- 0 if the entire SVG is being written to one output, otherwise the pagenumberid
- the id of the SVG that will be the root of this page (for "individual" output) or null- Throws:
IOException
-