org.codenarc.report
Class InlineXmlReportWriter

java.lang.Object
  extended by org.codenarc.report.AbstractReportWriter
      extended by org.codenarc.report.XmlReportWriter
          extended by org.codenarc.report.InlineXmlReportWriter
All Implemented Interfaces:
groovy.lang.GroovyObject, ReportWriter

public class InlineXmlReportWriter
extends XmlReportWriter
implements groovy.lang.GroovyObject


Field Summary
 
Fields inherited from class org.codenarc.report.AbstractReportWriter
BASE_MESSAGES_BUNDLE, CODENARC_URL, CUSTOM_MESSAGES_BUNDLE, customMessagesBundleName, getTimestamp, initializeResourceBundle, resourceBundle, VERSION_FILE
 
Constructor Summary
InlineXmlReportWriter()
           
 
Method Summary
protected  java.lang.Object buildRulesElement(AnalysisContext analysisContext)
           
protected  java.lang.Object buildViolationElement(Violation violation)
           
 groovy.lang.MetaClass getMetaClass()
           
 java.lang.Object getProperty(java.lang.String property)
           
 java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments)
           
 void setMetaClass(groovy.lang.MetaClass mc)
           
 void setProperty(java.lang.String property, java.lang.Object value)
           
 
Methods inherited from class org.codenarc.report.XmlReportWriter
buildFileElement, buildMessageElement, buildPackageAttributeMap, buildPackageElement, buildPackageElements, buildProjectElement, buildReportElement, buildSourceLineElement, cdata, getDefaultOutputFile, getTitle, isRoot, setDefaultOutputFile, setTitle, writeReport
 
Methods inherited from class org.codenarc.report.AbstractReportWriter
getCodeNarcVersion, getDescriptionForRule, getFormattedTimestamp, getHtmlDescriptionForRule, getOutputFile, getResourceBundleString, getResourceBundleString, getResourceBundleString, getSortedRules, getWriteToStandardOut, initializeDefaultResourceBundle, isEnabled, setOutputFile, setWriteToStandardOut, writeReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineXmlReportWriter

public InlineXmlReportWriter()
Method Detail

getMetaClass

public groovy.lang.MetaClass getMetaClass()
Specified by:
getMetaClass in interface groovy.lang.GroovyObject
Overrides:
getMetaClass in class XmlReportWriter

setMetaClass

public void setMetaClass(groovy.lang.MetaClass mc)
Specified by:
setMetaClass in interface groovy.lang.GroovyObject
Overrides:
setMetaClass in class XmlReportWriter

invokeMethod

public java.lang.Object invokeMethod(java.lang.String method,
                                     java.lang.Object arguments)
Specified by:
invokeMethod in interface groovy.lang.GroovyObject
Overrides:
invokeMethod in class XmlReportWriter

getProperty

public java.lang.Object getProperty(java.lang.String property)
Specified by:
getProperty in interface groovy.lang.GroovyObject
Overrides:
getProperty in class XmlReportWriter

setProperty

public void setProperty(java.lang.String property,
                        java.lang.Object value)
Specified by:
setProperty in interface groovy.lang.GroovyObject
Overrides:
setProperty in class XmlReportWriter

buildViolationElement

protected java.lang.Object buildViolationElement(Violation violation)
Overrides:
buildViolationElement in class XmlReportWriter

buildRulesElement

protected java.lang.Object buildRulesElement(AnalysisContext analysisContext)
Overrides:
buildRulesElement in class XmlReportWriter


Copyright © 2011. All Rights Reserved.