Interface RatReport

All Known Implementing Classes:
AbstractClaimReporter, AbstractReport, ClaimAggregator, ClaimReporterMultiplexer, LicenseAddingReport, SimpleXmlClaimReporter

public interface RatReport
Interface that defines a RatReport. A RatReport examines a document and may report issues or modify the underlying file.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Signals the end of execution for the report.
    void
    report​(Document document)
    Performs the actual reporting on the given document.
    void
    Signals the start of execution for the report.
  • Method Details

    • startReport

      void startReport() throws RatException
      Signals the start of execution for the report. Will be called before the report() method to ensure proper setup.
      Throws:
      RatException - on error.
      See Also:
      report(Document)
    • report

      void report(Document document) throws RatException
      Performs the actual reporting on the given document.
      Parameters:
      document - write any reporting results into this document upon analysis.
      Throws:
      RatException - on error.
    • endReport

      void endReport() throws RatException
      Signals the end of execution for the report. Will be called after the report() method to ensure proper cleanup.
      Throws:
      RatException - on error.
      See Also:
      report(Document)