|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.reporting.AbstractMavenReportRenderer
An abstract class to manage report generation.
| Field Summary | |
protected org.apache.maven.doxia.sink.Sink |
sink
|
| Constructor Summary | |
AbstractMavenReportRenderer(org.apache.maven.doxia.sink.Sink sink)
|
|
| Method Summary | |
protected static String |
createLinkPatternedText(String text,
String href)
Create a link pattern text defined by {text, url}. |
protected void |
endSection()
|
protected void |
endTable()
|
abstract String |
getTitle()
|
protected void |
javaScript(String jsCode)
Add a Javascript code. |
protected void |
link(String href,
String name)
|
void |
linkPatternedText(String text)
Add a text with links inside. |
protected void |
paragraph(String paragraph)
|
protected static String |
propertiesToString(Properties props)
Convenience method to display a Properties object comma separated. |
void |
render()
|
protected abstract void |
renderBody()
|
protected void |
startSection(String name)
|
protected void |
startTable()
|
protected void |
tableCaption(String caption)
|
protected void |
tableCell(String text)
Add a cell in a table. |
protected void |
tableCell(String text,
boolean asHtml)
Add a cell in a table. |
protected void |
tableHeader(String[] content)
|
protected void |
tableHeaderCell(String text)
|
protected void |
tableRow(String[] content)
|
protected void |
text(String text)
Add a new text. |
protected void |
verbatimLink(String text,
String href)
Add a verbatim text with a specific link. |
protected void |
verbatimText(String text)
Add a verbatim text. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected org.apache.maven.doxia.sink.Sink sink
| Constructor Detail |
public AbstractMavenReportRenderer(org.apache.maven.doxia.sink.Sink sink)
| Method Detail |
public void render()
render in interface org.apache.maven.reporting.MavenReportRendererprotected void startTable()
protected void endTable()
protected void startSection(String name)
protected void endSection()
protected void tableHeaderCell(String text)
protected void tableCell(String text)
The text could be a link patterned text defined by {text, url}
text - linkPatternedText(String)
protected void tableCell(String text,
boolean asHtml)
If asHtml is true, add the text as Html
text - asHtml - protected void tableRow(String[] content)
protected void tableHeader(String[] content)
protected void tableCaption(String caption)
protected void paragraph(String paragraph)
protected void link(String href,
String name)
protected void text(String text)
If text is empty of has a null value, add the "-" charater
text - a stringprotected void verbatimText(String text)
text - a stringtext(String)
protected void verbatimLink(String text,
String href)
text - a stringhref - an href could be nulllink(String, String)protected void javaScript(String jsCode)
jsCode - a string of Javascriptpublic void linkPatternedText(String text)
The text variable should contained this given pattern {text, url}
to handle the link creation.
text - a text with link pattern defined.text(String),
#applyPattern(String)
protected static String createLinkPatternedText(String text,
String href)
{text, url}.
This created pattern could be used by the method linkPatternedText(String) to
handle a text with link.
text - href -
linkPatternedText(String)protected static String propertiesToString(Properties props)
Properties object comma separated.
props -
public abstract String getTitle()
getTitle in interface org.apache.maven.reporting.MavenReportRendererprotected abstract void renderBody()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||