|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectview.xhtml.XHTMLDocument
public class XHTMLDocument
| Field Summary | |
|---|---|
private Body |
body
|
private static java.lang.String |
DOCTYPE
|
private java.lang.String |
title_text
|
| Constructor Summary | |
|---|---|
XHTMLDocument()
Constructs a new XHTMLDocument with an empty title and body. |
|
| Method Summary | |
|---|---|
Body |
getBody()
Returns the documents body element. |
private HtmlObject |
getRoot()
Generates and returns the actual element hierarchy. |
java.lang.String |
getSource()
Returns the HTML source code without indentation. |
java.lang.String |
getSource(int indent_width)
As above but with indendation. |
void |
setTitleText(java.lang.String text)
Sets the document's title text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String DOCTYPE
private final transient Body body
private transient java.lang.String title_text
| Constructor Detail |
|---|
public XHTMLDocument()
| Method Detail |
|---|
public Body getBody()
public void setTitleText(java.lang.String text)
private HtmlObject getRoot()
public java.lang.String getSource()
public java.lang.String getSource(int indent_width)
indent_width - indendation width (number of spaces)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||