|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectview.xhtml.HtmlObject
public abstract class HtmlObject
| Constructor Summary | |
|---|---|
HtmlObject()
|
|
| Method Summary | |
|---|---|
abstract java.lang.String |
getHtml()
Returns the object's HTML source code. |
java.lang.String |
getHtml(int indent_width)
As above but with no root level indentation. |
abstract java.lang.String |
getHtml(int indent_level,
int indent_width)
Returns the object's HTML source code with indentation. |
protected static java.lang.String |
getIndent(int width)
Returns a String of spaces. |
java.lang.String |
toString()
Returns the HTML source code (without indendation). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HtmlObject()
| Method Detail |
|---|
public abstract java.lang.String getHtml()
public abstract java.lang.String getHtml(int indent_level,
int indent_width)
indent_level - the indentation level used at the root levelindent_width - ... for inner elementspublic final java.lang.String getHtml(int indent_width)
indent_width - as aboveprotected static java.lang.String getIndent(int width)
width - the length of the stringpublic final java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||