Interface SVGReportOutput.OutputHandler

Enclosing class:

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 Type
    getOutputStream(int pagenumber, String id)
    Return the OutputStream to write the SVG to
  • Method Details

    • getOutputStream

      OutputStream getOutputStream(int pagenumber, String id) throws IOException
      Return the OutputStream to write the SVG to
      pagenumber - 0 if the entire SVG is being written to one output, otherwise the pagenumber
      id - the id of the SVG that will be the root of this page (for "individual" output) or null