|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.javancss.AbstractNcssReportGenerator
public abstract class AbstractNcssReportGenerator
Base abstract class for NCSSReport classes.
It holds essentially helper methods on top of the Sink Doxia object.
Constructor Summary | |
---|---|
protected |
AbstractNcssReportGenerator(org.codehaus.doxia.sink.Sink sink,
java.util.ResourceBundle bundle,
org.apache.maven.plugin.logging.Log log)
build a new NcssReportGenerator. |
Method Summary | |
---|---|
protected void |
codeCellHelper(java.lang.String text)
sink helper to write cell containing code. |
protected void |
codeItemListHelper(java.lang.String text)
sink helper to write a "code" itemList. |
protected void |
endSection()
sink helper to end a section |
org.apache.maven.plugin.logging.Log |
getLog()
Getter for the Log instance. |
java.util.ResourceBundle |
getResourceBundle()
Getter for the RessourceBundle. |
org.codehaus.doxia.sink.Sink |
getSink()
Getter for the Sink instance. |
protected void |
headerCellHelper(java.lang.String text)
sink helper to write a simple table header cell. |
protected void |
paragraphHelper(java.lang.String text)
sink helper to write a paragrah |
protected void |
startSection(java.lang.String link,
java.lang.String title)
sink helper to start a section. |
protected void |
subtitleHelper(java.lang.String text)
sink helper to write a subtitle |
protected void |
tableCellHelper(java.lang.String text)
sink helper to write a simple tabke cell. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractNcssReportGenerator(org.codehaus.doxia.sink.Sink sink, java.util.ResourceBundle bundle, org.apache.maven.plugin.logging.Log log)
sink
- the sink which will be used for reporting.bundle
- the correct RessourceBundle to be used for reporting.log
- the log object enabling logging within maven plugins.Method Detail |
---|
public org.apache.maven.plugin.logging.Log getLog()
public org.codehaus.doxia.sink.Sink getSink()
public java.util.ResourceBundle getResourceBundle()
protected void codeItemListHelper(java.lang.String text)
test
- the text to write within the code tags.protected void paragraphHelper(java.lang.String text)
the
- text to write within the paragraph.protected void subtitleHelper(java.lang.String text)
text
- the text to write as a subtitle.protected void codeCellHelper(java.lang.String text)
text
- the text to write within a cell and within code tags.protected void headerCellHelper(java.lang.String text)
text
- the text to write within a table header cell.protected void tableCellHelper(java.lang.String text)
text
- the text to write within a table cell.protected void startSection(java.lang.String link, java.lang.String title)
locale
- the locale to be used to display text within the section start.link
- the anchor link.title
- the title of the anchor link.protected void endSection()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |