edu.umd.cs.findbugs
Class AddMessages

java.lang.Object
  extended by edu.umd.cs.findbugs.AddMessages

public class AddMessages
extends java.lang.Object

Add human-readable messages to a dom4j tree containing FindBugs XML output. This transformation makes it easier to generate reports (such as HTML) from the XML.

Author:
David Hovemeyer
See Also:
BugCollection

Field Summary
private  BugCollection bugCollection
           
private  org.dom4j.Document document
           
 
Constructor Summary
AddMessages(BugCollection bugCollection, org.dom4j.Document document)
          Constructor.
 
Method Summary
 void execute()
          Add messages to the dom4j tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bugCollection

private BugCollection bugCollection

document

private org.dom4j.Document document
Constructor Detail

AddMessages

public AddMessages(BugCollection bugCollection,
                   org.dom4j.Document document)
Constructor.

Parameters:
bugCollection - the BugCollection the dom4j was generated from
document - the dom4j tree
Method Detail

execute

public void execute()
Add messages to the dom4j tree.