Interface CustomReport

All Known Implementing Classes:
CustomFormatter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CustomReport
This interface may be implemented if you need custom formatting logic, not covered by and provided formatter Example: you need to merge pdfs created by another reports
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    createReport(Report report, BandData rootBand, Map<String,Object> params)
    Generate output document using given bands structure and data, input parameters and root Report object.
  • Method Details

    • createReport

      byte[] createReport(Report report, BandData rootBand, Map<String,Object> params)
      Generate output document using given bands structure and data, input parameters and root Report object. The output document may be a file, or a serialized Java object which will be interpreted later, e.g. for displaying in UI.
      Parameters:
      report - root Report object
      rootBand - expanded tree structure of bands with their loaded data entries
      params - input parameters
      Returns:
      output document in binary form