public final class XmlReportFactory extends Object
Modifier and Type | Method and Description |
---|---|
static RatReport |
createStandardReport(IXmlWriter writer,
ClaimStatistic statistic,
ReportConfiguration configuration)
Creates a RatReport from the arguments.
|
static void |
endReport(IXmlWriter writer)
Ends the XML reprot by closing the element that startReport opened.
|
static void |
startReport(IXmlWriter writer)
Starts the XML report by writing the standard header into the writer.
|
public static RatReport createStandardReport(IXmlWriter writer, ClaimStatistic statistic, ReportConfiguration configuration)
statistic
is used to create a ClaimAggregator.
If the configuration
indicates that licenses should be added a LicenseAddingReport is added.writer
- The XML writer to send output to.statistic
- the ClaimStatistics for the report. may be null.configuration
- The report configuration.public static void startReport(IXmlWriter writer) throws RatException
writer
- The writer to write intoRatException
- on errorpublic static void endReport(IXmlWriter writer) throws RatException
writer
- the write to write into.RatException
- on errorstartReport(IXmlWriter)
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.