|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.ecs.XhtmlDocument
This class creates an XhtmlDocument container, for convience.
Field Summary | |
private body |
body
|
private java.lang.String |
codeset
|
private Doctype |
doctype
|
private head |
head
|
private html |
html
|
private title |
title
|
Constructor Summary | |
XhtmlDocument()
Basic constructor. |
|
XhtmlDocument(java.lang.String codeset)
Basic constructor. |
Method Summary | |
(package private) void |
|
XhtmlDocument |
appendBody(Element value)
Append to the body element for this XhtmlDocument container. |
XhtmlDocument |
appendBody(java.lang.String value)
Append to the body element for this XhtmlDocument container. |
XhtmlDocument |
appendHead(Element value)
Append to the head element for this XhtmlDocument container. |
XhtmlDocument |
appendHead(java.lang.String value)
Append to the head element for this XhtmlDocument container. |
XhtmlDocument |
appendTitle(Element value)
Append to the title element for this XhtmlDocument container. |
XhtmlDocument |
appendTitle(java.lang.String value)
Append to the title element for this XhtmlDocument container. |
java.lang.Object |
clone()
Allows the document to be cloned. |
body |
getBody()
Get the body element for this XhtmlDocument container. |
java.lang.String |
getCodeset()
Gets the codeset for this XhtmlDocument |
Doctype |
getDoctype()
Get the doctype element for this XhtmlDocument container. |
head |
getHead()
Get the head element for this XhtmlDocument container. |
html |
getHtml()
Get the html element for this XhtmlDocument container. |
title |
getTitle()
Get the title element for this XhtmlDocument container. |
void |
output(java.io.OutputStream out)
Write the container to the OutputStream |
void |
output(java.io.PrintWriter out)
Write the container to the PrintWriter |
XhtmlDocument |
setBody(body set_body)
Set the body element for this XhtmlDocument container. |
void |
setCodeset(java.lang.String codeset)
Sets the codeset for this XhtmlDocument |
XhtmlDocument |
setDoctype(Doctype set_doctype)
Set the doctype element for this XhtmlDocument container. |
XhtmlDocument |
setHead(head set_head)
Set the head element for this XhtmlDocument container. |
XhtmlDocument |
setHtml(html set_html)
Set the html element for this XhtmlDocument container. |
XhtmlDocument |
setTitle(title set_title)
Set the title element for this XhtmlDocument container. |
java.lang.String |
toString()
Override the toString() method so that it prints something meaningful. |
java.lang.String |
toString(java.lang.String codeset)
Override the toString() method so that it prints something meaningful. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
Field Detail |
private html html
private head head
private body body
private title title
private java.lang.String codeset
private Doctype doctype
Constructor Detail |
public XhtmlDocument()
public XhtmlDocument(java.lang.String codeset)
Method Detail |
void()
in class java.lang.Object
public Doctype getDoctype()
public XhtmlDocument setDoctype(Doctype set_doctype)
public html getHtml()
public XhtmlDocument setHtml(html set_html)
public head getHead()
public XhtmlDocument setHead(head set_head)
public XhtmlDocument appendHead(Element value)
value
- adds to the value between the head tagspublic XhtmlDocument appendHead(java.lang.String value)
value
- adds to the value between the head tagspublic body getBody()
public XhtmlDocument setBody(body set_body)
public XhtmlDocument appendBody(Element value)
value
- adds to the value between the body tagspublic XhtmlDocument appendBody(java.lang.String value)
value
- adds to the value between the body tagspublic title getTitle()
public XhtmlDocument setTitle(title set_title)
public XhtmlDocument appendTitle(Element value)
value
- adds to the value between the title tagspublic XhtmlDocument appendTitle(java.lang.String value)
value
- adds to the value between the title tagspublic void setCodeset(java.lang.String codeset)
public java.lang.String getCodeset()
public void output(java.io.OutputStream out)
public void output(java.io.PrintWriter out)
public final java.lang.String toString()
toString
in class java.lang.Object
public final java.lang.String toString(java.lang.String codeset)
public java.lang.Object clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |