Class MasterReport

java.lang.Object
com.adobe.epubcheck.api.MasterReport
All Implemented Interfaces:
LocalizableReport, Report
Direct Known Subclasses:
CheckingReport, DefaultReportImpl, QuietReport, WriterReportImpl, XmlReportAbstract

public abstract class MasterReport extends Object implements LocalizableReport
Reports are derived from this so that we can test for message Id coverage as well as have a centralized location for severity reporting level testing.
  • Field Details

    • allReportedMessageIds

      public static Set<MessageId> allReportedMessageIds
    • errorCount

      private int errorCount
    • warningCount

      private int warningCount
    • fatalErrorCount

      private int fatalErrorCount
    • usageCount

      private int usageCount
    • infoCount

      private int infoCount
    • reportingLevel

      private int reportingLevel
    • ePubName

      private String ePubName
    • dictionary

      private MessageDictionary dictionary
    • messages

      private Messages messages
    • customMessageFileName

      String customMessageFileName
  • Constructor Details

    • MasterReport

      protected MasterReport()
      Creates a report with a new Messages instance and sets the locale held in LocaleHolder to the default locale.
    • MasterReport

      protected MasterReport(boolean setLocale)
      Creates a report with a new Messages instance and sets the locale held in LocaleHolder to the default locale only if the given flag is true.
      Parameters:
      setLocale - whether to update the locale held in LocaleHolder
  • Method Details