ILinkableNodePage, SessionsPagepublic abstract class ReportPage extends java.lang.Object implements ILinkable
| Modifier and Type | Field | Description |
|---|---|---|
protected IHTMLReportContext |
context |
context for this report
|
protected ReportOutputFolder |
folder |
output folder for this node
|
| Modifier | Constructor | Description |
|---|---|---|
protected |
ReportPage(ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context) |
Creates a new report page.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract void |
content(HTMLElement body) |
Creates the actual content of the page.
|
protected abstract java.lang.String |
getFileName() |
Specifies the local file name of this page.
|
java.lang.String |
getLink(ReportOutputFolder base) |
Returns a relative link to the item that works from the given base
folder.
|
protected java.lang.String |
getOnload() |
Returns the onload handler for this page.
|
protected void |
head(HTMLElement head) |
Creates the elements within the head element.
|
protected void |
infoLinks(HTMLElement span) |
Inserts additional links on the top right corner.
|
protected boolean |
isRootPage() |
Checks whether this is the root page of the report.
|
void |
render() |
Renders this page's content and optionally additional pages.
|
getLinkLabel, getLinkStyleprotected final ReportOutputFolder folder
protected final IHTMLReportContext context
protected ReportPage(ReportPage parent, ReportOutputFolder folder, IHTMLReportContext context)
parent - optional hierarchical parentfolder - base folder to create this report incontext - settings contextprotected final boolean isRootPage()
true if this is the root pagepublic void render()
throws java.io.IOException
java.io.IOException - if the page can't be writtenprotected void head(HTMLElement head) throws java.io.IOException
head - head tag of the pagejava.io.IOException - in case of IO problems with the report writerprotected java.lang.String getOnload()
nullprotected void infoLinks(HTMLElement span) throws java.io.IOException
span - parent elementjava.io.IOException - in case of IO problems with the report writerprotected abstract java.lang.String getFileName()
protected abstract void content(HTMLElement body) throws java.io.IOException
body - body tag of the pagejava.io.IOException - in case of IO problems with the report writerpublic final java.lang.String getLink(ReportOutputFolder base)
ILinkableCopyright © 2018. All rights reserved.