|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.elca.el4j.services.monitoring.jmx.display.HtmlDisplayManager
public class HtmlDisplayManager
Utility for displaying HTML information and creating strings out of it.
| Constructor Summary | |
|---|---|
HtmlDisplayManager()
Default constructor. |
|
| Method Summary | |
|---|---|
void |
addSection(Section section)
Adds a section. |
String |
getPage()
|
void |
setTitle(String title)
Sets the tile of the page to display. |
static String |
tag(String tag,
String value)
Wrap some text in a tag. |
static String |
tagRecursive(String value,
String... tags)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlDisplayManager()
| Method Detail |
|---|
public void setTitle(String title)
setTitle in interface DisplayManagertitle - The title.public void addSection(Section section)
addSection in interface DisplayManagersection - The section to add.public String getPage()
getPage in interface DisplayManager
public static String tag(String tag,
String value)
tag - The tag to wrap in.value - The text.
<tag>text</tag>
public static String tagRecursive(String value,
String... tags)
value - The text.tags - A list of tags.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||