org.gmetrics.report
Class XmlReportWriter
java.lang.Object
org.gmetrics.report.AbstractReportWriter
org.gmetrics.report.XmlReportWriter
- All Implemented Interfaces:
- groovy.lang.GroovyObject, ReportWriter
public class XmlReportWriter
- extends AbstractReportWriter
- implements groovy.lang.GroovyObject
ReportWriter that generates an XML report. The XML includes
and the metric descriptions for each Metric within the passed-in MetricSet.
- Version:
- $Revision: 101 $ - $Date: 2010-03-10 19:17:23 -0500 (Wed, 10 Mar 2010) $
- Author:
- Chris Mair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_OUTPUT_FILE
public static final java.lang.Object DEFAULT_OUTPUT_FILE
XmlReportWriter
public XmlReportWriter()
getDefaultOutputFile
public static java.lang.Object getDefaultOutputFile()
setDefaultOutputFile
public static void setDefaultOutputFile(java.lang.Object value)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String value)
writeReport
public void writeReport(java.io.Writer writer,
ResultsNode resultsNode,
AnalysisContext analysisContext)
- Specified by:
writeReport in class AbstractReportWriter
getDescriptionForMetric
protected java.lang.String getDescriptionForMetric(Metric metric)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject- Overrides:
getMetaClass in class AbstractReportWriter
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject- Overrides:
setMetaClass in class AbstractReportWriter
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject- Overrides:
invokeMethod in class AbstractReportWriter
getProperty
public java.lang.Object getProperty(java.lang.String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject- Overrides:
getProperty in class AbstractReportWriter
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject- Overrides:
setProperty in class AbstractReportWriter
Copyright © 2010. All Rights Reserved.