FindBugs™ 1.3.9

edu.umd.cs.findbugs
Class XMLBugReporter

java.lang.Object
  extended by edu.umd.cs.findbugs.AbstractBugReporter
      extended by edu.umd.cs.findbugs.TextUIBugReporter
          extended by edu.umd.cs.findbugs.BugCollectionBugReporter
              extended by edu.umd.cs.findbugs.XMLBugReporter
All Implemented Interfaces:
Debug, RepositoryLookupFailureCallback, BugReporter, IClassObserver, IErrorLogger

public class XMLBugReporter
extends BugCollectionBugReporter

Report warnings as an XML document.

Author:
David Hovemeyer

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.umd.cs.findbugs.AbstractBugReporter
AbstractBugReporter.Error
 
Field Summary
 
Fields inherited from class edu.umd.cs.findbugs.TextUIBugReporter
outputStream
 
Fields inherited from interface edu.umd.cs.findbugs.ba.Debug
VERIFY_INTEGRITY
 
Fields inherited from interface edu.umd.cs.findbugs.BugReporter
NORMAL, SILENT
 
Constructor Summary
XMLBugReporter(Project project)
           
 
Method Summary
 void finish()
          Finish reporting bugs.
 void setAddMessages(boolean enable)
           
 void setMinimalXML(boolean xmlMinimal)
           
 
Methods inherited from class edu.umd.cs.findbugs.BugCollectionBugReporter
doReportBug, getBugCollection, getProject, getRealBugReporter, logError, logError, observeClass, reportMissingClass
 
Methods inherited from class edu.umd.cs.findbugs.TextUIBugReporter
checkBugInstance, emitLine, getUseLongBugCodes, isApplySuppressions, printBug, reportAnalysisError, reportMissingClass, reportQueuedErrors, setApplySuppressions, setOutputStream, setReportHistory, setReportStackTrace, setReportUserDesignations, setShowRank, setUseLongBugCodes
 
Methods inherited from class edu.umd.cs.findbugs.AbstractBugReporter
addObserver, getMissingClasses, getMissingClassName, getProjectStats, getQueuedErrors, isValidMissingClassMessage, notifyObservers, reportBug, reportBugsFromXml, reportMissingClass, reportSkippedAnalysis, setErrorVerbosity, setPriorityThreshold, setRankThreshold
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLBugReporter

public XMLBugReporter(Project project)
Method Detail

setAddMessages

public void setAddMessages(boolean enable)

finish

public void finish()
Description copied from interface: BugReporter
Finish reporting bugs. If any bug reports have been queued, calling this method will flush them.

Specified by:
finish in interface BugReporter
Overrides:
finish in class BugCollectionBugReporter

setMinimalXML

public void setMinimalXML(boolean xmlMinimal)
Parameters:
xmlMinimal -

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.