org.codehaus.mojo.javancss
Class NcssReportGenerator

java.lang.Object
  extended byorg.codehaus.mojo.javancss.NcssReportGenerator

public class NcssReportGenerator
extends java.lang.Object

Generates the javaNcss maven report.

Author:
Jean-Laurent de Morlhon

Constructor Summary
NcssReportGenerator(org.codehaus.doxia.sink.Sink sink, java.util.ResourceBundle bundle)
          build a new NcssReportGenerator.
 
Method Summary
 void doReport(java.util.Locale locale, org.dom4j.Document document, int lineThreshold)
          Generates the JavaNcss reports.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NcssReportGenerator

public NcssReportGenerator(org.codehaus.doxia.sink.Sink sink,
                           java.util.ResourceBundle bundle)
build a new NcssReportGenerator.

Parameters:
sink - the sink which will be used for reporting.
bundle - the correct RessourceBundle to be used for reporting.
Method Detail

doReport

public void doReport(java.util.Locale locale,
                     org.dom4j.Document document,
                     int lineThreshold)
Generates the JavaNcss reports.

Parameters:
locale - the Locale used for this report.
document - the javaNcss raw report as an XML document.
lineThreshold - the maximum number of lines to keep in major reports.


Copyright © 2005-2007 null. All Rights Reserved.