org.apache.maven.reporting
public abstract class AbstractMavenReportRenderer extends Object implements MavenReportRenderer
Version: $Id: AbstractMavenReportRenderer.java 163373 2005-02-22 03:37:00Z brett $
UNKNOWN: Later it may be appropriate to create something like a VelocityMavenReportRenderer that could take a velocity template and pipe that through Doxia rather than coding them up like this.
Field Summary | |
---|---|
protected Sink | sink |
Constructor Summary | |
---|---|
AbstractMavenReportRenderer(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.
|
{text, url}
.
This created pattern could be used by the method linkPatternedText(String)
to
handle a text with link.
Parameters: text href
Returns: a link pattern
See Also: linkPatternedText
Parameters: jsCode a string of Javascript
The text variable should contained this given pattern {text, url}
to handle the link creation.
Parameters: text a text with link pattern defined.
See Also: text applyPattern
Properties
object comma separated.
Parameters: props
Returns: the properties object as comma separated String
The text could be a link patterned text defined by {text, url}
Parameters: text
See Also: linkPatternedText
If asHtml
is true, add the text as Html
Parameters: text asHtml
If text is empty of has a null value, add the "-" charater
Parameters: text a string
Parameters: text a string href an href could be null
See Also: AbstractMavenReportRenderer
Parameters: text a string
See Also: text