|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectorg.codenarc.report.AbstractReportWriter
org.codenarc.report.XmlReportWriter
@SuppressWarnings('UnnecessaryReturnKeyword') class XmlReportWriter extends AbstractReportWriter
ReportWriter that generates an XML report.
Field Summary |
---|
Fields inherited from class AbstractReportWriter | |
---|---|
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, VERSION_FILE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle |
Property Summary | |
---|---|
String |
defaultOutputFile
|
String |
title
|
Method Summary | |
---|---|
protected def
|
buildFileElement(FileResults results)
|
protected def
|
buildMessageElement(Violation violation)
|
protected Map
|
buildPackageAttributeMap(def results)
|
protected def
|
buildPackageElement(def results)
|
protected def
|
buildPackageElements(def results)
|
protected def
|
buildProjectElement(AnalysisContext analysisContext)
|
protected def
|
buildReportElement()
|
protected def
|
buildRulesElement(AnalysisContext analysisContext)
|
protected def
|
buildSourceLineElement(Violation violation)
|
protected def
|
buildViolationElement(Violation violation)
|
protected def
|
cdata(String text)
|
protected boolean
|
isRoot(def results)
|
void
|
writeReport(Writer writer, AnalysisContext analysisContext, Results results)
|
Property Detail |
---|
String defaultOutputFile
String title
Method Detail |
---|
protected def buildFileElement(FileResults results)
protected def buildMessageElement(Violation violation)
protected Map buildPackageAttributeMap(def results)
protected def buildPackageElement(def results)
protected def buildPackageElements(def results)
protected def buildProjectElement(AnalysisContext analysisContext)
protected def buildReportElement()
protected def buildRulesElement(AnalysisContext analysisContext)
protected def buildSourceLineElement(Violation violation)
protected def buildViolationElement(Violation violation)
protected def cdata(String text)
protected boolean isRoot(def results)
void writeReport(Writer writer, AnalysisContext analysisContext, Results results)
Groovy Documentation