org.codehaus.mojo.javancss
Class NcssReportGenerator
java.lang.Object
org.codehaus.mojo.javancss.AbstractNcssReportGenerator
org.codehaus.mojo.javancss.NcssReportGenerator
public class NcssReportGenerator
- extends AbstractNcssReportGenerator
Generates the javaNcss maven report.
- Version:
- $Id: NcssReportGenerator.java 6588 2008-03-28 12:22:57Z bentmann $
- Author:
- Jean-Laurent de Morlhon
Constructor Summary |
NcssReportGenerator(org.apache.maven.doxia.sink.Sink sink,
java.util.ResourceBundle bundle,
org.apache.maven.plugin.logging.Log log,
java.lang.String xrefLocation)
build a new NcssReportGenerator. |
Method Summary |
void |
doReport(org.dom4j.Document document,
int lineThreshold)
Generates the JavaNcss reports. |
protected void |
jxrFunctionLink(java.lang.String clazz)
|
protected void |
jxrLink(java.lang.String clazz)
|
protected void |
startSection(java.lang.String link,
java.lang.String title)
sink helper to start a section. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NcssReportGenerator
public NcssReportGenerator(org.apache.maven.doxia.sink.Sink sink,
java.util.ResourceBundle bundle,
org.apache.maven.plugin.logging.Log log,
java.lang.String xrefLocation)
- build a new NcssReportGenerator.
- Parameters:
sink
- the sink which will be used for reporting.bundle
- the correct RessourceBundle to be used for reporting.
doReport
public void doReport(org.dom4j.Document document,
int lineThreshold)
- Generates the JavaNcss reports.
- Parameters:
document
- the javaNcss raw report as an XML document.lineThreshold
- the maximum number of lines to keep in major reports.
startSection
protected void startSection(java.lang.String link,
java.lang.String title)
- Description copied from class:
AbstractNcssReportGenerator
- sink helper to start a section.
- Overrides:
startSection
in class AbstractNcssReportGenerator
- Parameters:
link
- the anchor link.title
- the title of the anchor link.
jxrLink
protected void jxrLink(java.lang.String clazz)
jxrFunctionLink
protected void jxrFunctionLink(java.lang.String clazz)
Copyright © 2005-2011 CodeHaus. All Rights Reserved.