Interface IReportRenderer<T extends IReportRendererConfiguration>

Type Parameters:
T - Renderer configuration type
All Known Implementing Classes:
CSVReportRenderer, DelimitedReportRenderer, HTMLReportRenderer, PDFReportRenderer, PSReportRenderer, SSVReportRenderer, TabDelimitedReportRenderer, XLSReportRenderer, XLSXReportRenderer, XMLReportRenderer

public interface IReportRenderer<T extends IReportRendererConfiguration>
Content rendering service for report engine.
Implementation must be thread safe.
  • Method Details

    • getId

      String getId()
      Get id of renderer
      Returns:
      renderer id (HTML, XLS, etc)
    • getName

      String getName()
      Get renderer name
      Returns:
      renderer name
    • getContentType

      String getContentType()
      Get MIME content type (text/html, etc)
      Returns:
      MIME content type
    • getFileExtension

      String getFileExtension()
      Get file extension (without dot)
      Returns:
      file extension
    • renderReport

      void renderReport(ReportEngine reportEngine, T configuration)
      Render content for report engine
      Parameters:
      reportEngine -
      configuration -
    • isBinary

      boolean isBinary()
      Is binary content
      Returns:
      true if content is binary
    • getConfigurationType

      Class<T> getConfigurationType()
      Get configuration type
      Returns:
      configuration type