|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.bimbo.impl.HtmlElement
public class HtmlElement
HTML element generator.
Constructor Summary | |
---|---|
HtmlElement(java.lang.String elementName)
Main constructor. |
Method Summary | |
---|---|
HtmlElement |
addAttribute(java.lang.String name,
java.lang.String value)
Adds an attribute to the HTML element. |
HtmlElement |
setBody(java.lang.String body)
Sets the body of this HTML element. |
HtmlElement |
setEscapedBody(java.lang.String escapedBody)
Sets the HTML entity escaped body. |
void |
write(java.io.PrintWriter writer)
Outputs the HTML element to the given writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlElement(java.lang.String elementName)
elementName
- the name of the HTML element.Method Detail |
---|
public HtmlElement setBody(java.lang.String body)
body
-
public HtmlElement addAttribute(java.lang.String name, java.lang.String value)
name
- the name of the attribute.value
- the attribute value. This can be null
.
public void write(java.io.PrintWriter writer)
writer
- public HtmlElement setEscapedBody(java.lang.String escapedBody)
escapedBody
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |