Class VerboseWorkbookExporter

java.lang.Object
cdc.impex.exports.VerboseWorkbookExporter
All Implemented Interfaces:
SheetExporter, WorkbookExporter

public class VerboseWorkbookExporter extends Object implements WorkbookExporter
  • Field Details

  • Constructor Details

    • VerboseWorkbookExporter

      public VerboseWorkbookExporter(WorkbookExporter delegate)
  • Method Details

    • beginExport

      public void beginExport(cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
      Description copied from interface: WorkbookExporter
      Invoked to notify the beginning of export.
      Specified by:
      beginExport in interface WorkbookExporter
      Parameters:
      issuesHandler - The issues handler that should be used by the application to generate new issues.
    • beginSheetExport

      public void beginSheetExport(SheetTemplateInstance templateInstance, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
      Description copied from interface: SheetExporter
      Invoked to begin a sheet exports.
      Specified by:
      beginSheetExport in interface SheetExporter
      Parameters:
      templateInstance - The sheet template instance associated to this extraction.
      issuesHandler - The issues handler that should be used by the application to generate new issues.
    • getNumberOfRemainingRows

      public int getNumberOfRemainingRows()
      Specified by:
      getNumberOfRemainingRows in interface SheetExporter
      Returns:
      The remaining number of rows to extract in current row. It can be an approximation when > 0.
      WARNING: This must be 0 when there are no more rows to export.
      WARNING: This must be a negative number when the number is unknown.
    • exportRow

      public void exportRow(ExportRow row, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
      Description copied from interface: SheetExporter
      Invoked to export the current row in current sheet.
      Specified by:
      exportRow in interface SheetExporter
      Parameters:
      row - The row that will contain extracted data.
      issuesHandler - The issues handler that should be used by the application to generate new issues.
    • endSheetExport

      public void endSheetExport(SheetTemplateInstance templateInstance, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
      Description copied from interface: SheetExporter
      Invoked to end a sheet export.
      Specified by:
      endSheetExport in interface SheetExporter
      Parameters:
      templateInstance - The sheet template instance associated to this extraction.
      issuesHandler - The issues handler that should be used by the application to generate new issues.
    • endExport

      public void endExport(cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
      Description copied from interface: WorkbookExporter
      Invoked to notify the end of export.
      Specified by:
      endExport in interface WorkbookExporter
      Parameters:
      issuesHandler - The issues handler that should be used by the application to generate new issues.