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