|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectview.xhtml.HtmlObject
view.xhtml.HtmlElement
view.xhtml.EmptyElement
public abstract class EmptyElement
| Constructor Summary | |
|---|---|
EmptyElement(java.lang.String tag_name)
Constructs the element. |
|
| Method Summary | |
|---|---|
java.lang.String |
getHtml()
Returns the HTML source code of the element. |
java.lang.String |
getHtml(int indent_level,
int indent_width)
As above but with indendation. |
| Methods inherited from class view.xhtml.HtmlElement |
|---|
getCloseTag, getCloseTag, getStartTag, getStartTag, setAttribute, setClass, setId, setName |
| Methods inherited from class view.xhtml.HtmlObject |
|---|
getHtml, getIndent, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyElement(java.lang.String tag_name)
tag_name - the name of the elements's tag.| Method Detail |
|---|
public final java.lang.String getHtml()
getHtml in class HtmlObject
public final java.lang.String getHtml(int indent_level,
int indent_width)
getHtml in class HtmlObjectindent_level - the indendation level used for the element.indent_width - the indendation width for inner elements.
(not used for empty elements, required for polymorphism).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||