| Constructor and Description |
|---|
HTMLReport()
constructor for HTML reporting
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBlock(Statistics stat)
add a statistics block to the report to the class register
|
java.lang.String |
blockExplanation(java.lang.String explanation)
output the explanation of the report block in HTML format
|
java.lang.String |
dateRange()
output the date range in the relevant format.
|
java.lang.String |
floorInfo(int floor)
output the floor information in HTML format
|
java.lang.String |
footer()
output the final footers for this file
|
java.lang.String |
header()
output any top headers that this page needs
|
java.lang.String |
header(java.lang.String title)
output any top headers that this page needs, and include a title
argument (Title support currently not implemented)
|
java.lang.String |
mainTitle()
output the title in the relevant format.
|
java.lang.String |
navigation()
build the internal navigation for the report
|
java.lang.String |
render()
return a string containing the report as generated by this class
|
java.lang.String |
sectionHeader(java.lang.String title)
output the section header in HTML format
|
void |
setEndDate(java.util.Date end)
set the end date for the report
|
void |
setMainTitle(java.lang.String name,
java.lang.String serverName)
set the main title for the report
|
void |
setOutput(java.lang.String newOutput) |
void |
setStartDate(java.util.Date start)
set the starting date for the report
|
java.lang.String |
statBlock(Statistics content)
output the report block based on the passed mapping, where the mapping
sould be "name of report element" => "value", where both sides of the
mapping should be Strings.
|
java.lang.String |
topLink()
provide a link back to the top of the page
|
public void setOutput(java.lang.String newOutput)
public java.lang.String render()
public java.lang.String topLink()
public java.lang.String navigation()
public void addBlock(Statistics stat)
public void setStartDate(java.util.Date start)
setStartDate in interface Reportstart - the start date for the reportpublic void setEndDate(java.util.Date end)
setEndDate in interface Reportend - the end date for the reportpublic java.lang.String dateRange()
public java.lang.String mainTitle()
public void setMainTitle(java.lang.String name,
java.lang.String serverName)
setMainTitle in interface Reportname - the name of the serviceserverName - the name of the serverpublic java.lang.String header()
public java.lang.String header(java.lang.String title)
public java.lang.String sectionHeader(java.lang.String title)
sectionHeader in interface Reporttitle - the title of the sectionpublic java.lang.String statBlock(Statistics content)
public java.lang.String floorInfo(int floor)
public java.lang.String blockExplanation(java.lang.String explanation)
blockExplanation in interface Reportexplanation - some text explaining the coming report blockCopyright © 2018 DuraSpace. All Rights Reserved.