net.sourceforge.groboutils.codecoverage.v2.ant
Class XmlReportStyle

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.ant.XmlReportStyle
All Implemented Interfaces:
IReportStyle

public class XmlReportStyle
extends java.lang.Object
implements IReportStyle

Generates the XML file for the report.

Since:
March 15, 2003
Version:
$Date: 2004/04/15 05:48:25 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
XmlReportStyle()
           
 
Method Summary
 void generateReport(org.apache.tools.ant.Project project, org.w3c.dom.Document doc, java.lang.String moduleName)
           
 void reportComplete(org.apache.tools.ant.Project project, java.util.Vector errorList)
          Called when the task is finished generating all the reports.
 void setDestDir(java.io.File dir)
           
 void setPrefix(java.lang.String p)
           
 void setSuffix(java.lang.String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlReportStyle

public XmlReportStyle()
Method Detail

setPrefix

public void setPrefix(java.lang.String p)

setSuffix

public void setSuffix(java.lang.String s)

setDestDir

public void setDestDir(java.io.File dir)

reportComplete

public void reportComplete(org.apache.tools.ant.Project project,
                           java.util.Vector errorList)
                    throws org.apache.tools.ant.BuildException,
                           java.io.IOException
Called when the task is finished generating all the reports. This may be useful for styles that join all the reports together.

Specified by:
reportComplete in interface IReportStyle
Throws:
org.apache.tools.ant.BuildException
java.io.IOException

generateReport

public void generateReport(org.apache.tools.ant.Project project,
                           org.w3c.dom.Document doc,
                           java.lang.String moduleName)
                    throws org.apache.tools.ant.BuildException,
                           java.io.IOException
Specified by:
generateReport in interface IReportStyle
Parameters:
doc - the XML document of the coverage report to process.
Throws:
org.apache.tools.ant.BuildException
java.io.IOException


Copyright © 2001-2003 by The GroboUtils Project