/** * Returns all tags in the report. * * @return A list of tags */ public final Hashtable getAllTags() { Hashtable tags = new Hashtable(); Enumeration iterator = sourceReports.elements(); SourceReport report; while (iterator.hasMoreElements()) { report = (SourceReport) iterator.nextElement(); tags.putAll(report.getAllTags()); } return tags; }
/** * Adds a source report to the list of source reports. * * @param sourceReport The source report to add */ public final void addSourceReport(final SourceReport sourceReport) { sourceReports.put(sourceReport.getSourceInfo().getSourceName(), sourceReport); }