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 9906 2009-06-02 15:04:27Z jeanlaurent $
- Author:
- Jean-Laurent de Morlhon
Constructor Summary |
NcssReportGenerator(org.apache.maven.doxia.sink.Sink sink,
ResourceBundle bundle,
org.apache.maven.plugin.logging.Log log,
String xrefLocation)
build a new NcssReportGenerator. |
Methods inherited from class org.codehaus.mojo.javancss.AbstractNcssReportGenerator |
codeCellHelper, codeItemListHelper, doIntro, endSection, getLog, getResourceBundle, getSink, getString, headerCellHelper, navigationBar, paragraphHelper, subtitleHelper, tableCellHelper |
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,
ResourceBundle bundle,
org.apache.maven.plugin.logging.Log log,
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.log
- the log to output log with.xrefLocation
- the location of the xref file.
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(String link,
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(String clazz)
jxrFunctionLink
protected void jxrFunctionLink(String clazz)
Copyright © 2005-2011 Codehaus. All Rights Reserved.