rj.tools.jcsc.formatter
Class XMLResultsFormatter

java.lang.Object
  extended byrj.tools.jcsc.formatter.AbstractResultsFormatter
      extended byrj.tools.jcsc.formatter.XMLResultsFormatter
All Implemented Interfaces:
ResultsFormatter

public class XMLResultsFormatter
extends AbstractResultsFormatter

XMLResultsFormatter - Outputs the results in XML

Version:
__0.98.1__
Author:
Ralph Jocham

Field Summary
 
Fields inherited from class rj.tools.jcsc.formatter.AbstractResultsFormatter
mAuthors, mBatchSummary, mClass, mLineCount, mMethodMetrics, mMethodsCount, mNCSSCount, mOutputStream, mPackage, mUnitTestClassCount, mUnitTestsCount, mViolations, mViolationsCount, mViolationsSorter
 
Constructor Summary
XMLResultsFormatter()
           
 
Method Summary
 void format()
          format the results from one parsed file
 void formatBatch()
          Format the batch run results.
 
Methods inherited from class rj.tools.jcsc.formatter.AbstractResultsFormatter
isBatchMode, setAuthors, setBatchMode, setClassName, setLineCount, setMethodMetrics, setMethodsCount, setNCSSCount, setOutputStream, setPackage, setUnitTestClassCount, setUnitTestsCount, setViolations, setViolationsCount, setViolationSorter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLResultsFormatter

public XMLResultsFormatter()
Method Detail

format

public void format()
format the results from one parsed file


formatBatch

public void formatBatch()
Format the batch run results. This method is additionally called to each call format() for each parsed file. This method should be used to generate additionally.

Specified by:
formatBatch in interface ResultsFormatter
Overrides:
formatBatch in class AbstractResultsFormatter


(c) 1999-2005 by Ralph Jocham (rjocham72@netscape.net)
JCSC is released under the terms of the GNU General Public License