public static final RatReport createStandardReport(final IXmlWriter writer,
final IHeaderMatcher matcher, final ILicenseFamily[] approvedLicenses) {
// TODO: this isn't very elegant :-/
// TODO: should really pass in analysers but this means injecting reporter
final SimpleXmlClaimReporter reporter = new SimpleXmlClaimReporter(writer);
final DefaultPolicy policy = new DefaultPolicy(reporter, approvedLicenses);
final IClaimReporter[] reporters = {reporter, policy};
final ClaimReporterMultiplexer multiplexer = new ClaimReporterMultiplexer(reporters);
final IDocumentAnalyser analyser =
DefaultAnalyserFactory.createDefaultAnalyser(multiplexer, matcher);