Package org.apache.rat.report.xml
Class XmlReportFactory
java.lang.Object
org.apache.rat.report.xml.XmlReportFactory
A factory to create reports from a writer and a configuration.
-
Method Summary
Modifier and TypeMethodDescriptionstatic RatReportcreateStandardReport(IXmlWriter writer, ClaimStatistic statistic, ReportConfiguration configuration)Creates a RatReport from the arguments.
-
Method Details
-
createStandardReport
public static RatReport createStandardReport(IXmlWriter writer, ClaimStatistic statistic, ReportConfiguration configuration)Creates a RatReport from the arguments. Thestatisticis used to create a ClaimAggregator. If theconfigurationindicates 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.
-