Package de.elo.utils.webapp.status
Class StatusPageHtml
java.lang.Object
de.elo.utils.webapp.status.StatusPage
de.elo.utils.webapp.status.StatusPageHtml
public class StatusPageHtml extends StatusPage
This class prints the
StatusData in HTML format.
It uses the style sheet StatusPage.css contained in this package.-
Nested Class Summary
Nested classes/interfaces inherited from class de.elo.utils.webapp.status.StatusPage
StatusPage.PrintList<T>, StatusPage.PrintListOfActions, StatusPage.PrintListOfInfos, StatusPage.PrintListOfProperties, StatusPage.PrintMode -
Field Summary
Fields Modifier and Type Field Description protected static intHTML_TABLE_COLUMNS -
Constructor Summary
Constructors Constructor Description StatusPageHtml(StatusData data, boolean isAuth) -
Method Summary
Modifier and Type Method Description static java.lang.StringgetStylesheet()protected voidprintAction(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Action v)protected voidprintActions(java.io.PrintWriter pr, StatusPage.PrintMode pstate)protected voidprintBody(java.io.PrintWriter pr, StatusPage.PrintMode pstate)protected voidprintDocument(java.io.PrintWriter pr, StatusPage.PrintMode pstate)protected voidprintInfo(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info v, StatusData.Info.Severity severity)protected voidprintInfos(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info.Severity severity)protected voidprintProperties(java.io.PrintWriter pr, StatusPage.PrintMode pstate)protected voidprintProperty(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Property v)protected voidprintStatus(java.io.PrintWriter pr, StatusPage.PrintMode pstate)protected voidprintTitle(java.io.PrintWriter pr, StatusPage.PrintMode pstate)Methods inherited from class de.elo.utils.webapp.status.StatusPage
close, getCharset, open, print, print, setCharset
-
Field Details
-
HTML_TABLE_COLUMNS
protected static final int HTML_TABLE_COLUMNS- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
printDocument
protected void printDocument(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printDocumentin classStatusPage- Throws:
java.io.IOException
-
printTitle
protected void printTitle(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printTitlein classStatusPage- Throws:
java.io.IOException
-
printBody
protected void printBody(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printBodyin classStatusPage- Throws:
java.io.IOException
-
printAction
protected void printAction(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Action v) throws java.io.IOException- Overrides:
printActionin classStatusPage- Throws:
java.io.IOException
-
printActions
protected void printActions(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printActionsin classStatusPage- Throws:
java.io.IOException
-
printStatus
protected void printStatus(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printStatusin classStatusPage- Throws:
java.io.IOException
-
printInfos
protected void printInfos(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info.Severity severity) throws java.io.IOException- Overrides:
printInfosin classStatusPage- Throws:
java.io.IOException
-
printInfo
protected void printInfo(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Info v, StatusData.Info.Severity severity) throws java.io.IOException- Overrides:
printInfoin classStatusPage- Throws:
java.io.IOException
-
printProperties
protected void printProperties(java.io.PrintWriter pr, StatusPage.PrintMode pstate) throws java.io.IOException- Overrides:
printPropertiesin classStatusPage- Throws:
java.io.IOException
-
printProperty
protected void printProperty(java.io.PrintWriter pr, StatusPage.PrintMode pstate, StatusData.Property v) throws java.io.IOException- Overrides:
printPropertyin classStatusPage- Throws:
java.io.IOException
-
getStylesheet
public static java.lang.String getStylesheet()
-