示例#1
0
  /**
   * 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;
  }
示例#2
0
 /**
  * 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);
 }