Class XmlReportFactory

java.lang.Object
org.apache.rat.report.xml.XmlReportFactory

public class XmlReportFactory extends Object
A factory to create reports from a writer and a configuration.
  • Constructor Details

    • XmlReportFactory

      public XmlReportFactory()
  • Method Details

    • createStandardReport

      public static RatReport createStandardReport(IXmlWriter writer, ClaimStatistic statistic, ReportConfiguration configuration)
      Creates a RatReport from the arguments. The statistic is used to create a ClaimAggregator. If the configuration indicates that licenses should be added a LicenseAddingReport is added.
      Parameters:
      writer - The XML writer to send output to.
      statistic - the ClaimStatistics for the report. may be null.
      configuration - The report configuration.
      Returns:
      a RatReport instance.