|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.ecs.Document
This class creates a Document container, for convience.
Field Summary | |
private static Body |
body
|
private static java.lang.String |
codeset
|
private static Head |
head
|
private static Html |
html
|
private static Title |
title
|
Constructor Summary | |
Document()
Basic constructor. |
|
Document(java.lang.String codeset)
Basic constructor. |
Method Summary | |
(package private) void |
|
Body |
appendBody(Element value)
Append to the body element for this document container. |
Body |
appendBody(java.lang.String value)
Append to the body element for this document container. |
Head |
appendHead(Element value)
Append to the head element for this document container. |
Head |
appendHead(java.lang.String value)
Append to the head element for this document container. |
Title |
appendTitle(Element value)
Append to the title element for this document container. |
Title |
appendTitle(java.lang.String value)
Append to the title element for this document container. |
Body |
getBody()
Get the body element for this document container. |
java.lang.String |
getCodeset()
Gets the codeset for this Document |
Head |
getHead()
Get the head element for this document container. |
Title |
getTitle()
Get the title element for this document container. |
void |
output(java.io.BufferedOutputStream out)
Write the container to the OutputStream |
void |
output(java.io.PrintWriter out)
Write the container to the PrinteWriter |
Body |
setBody(Body set_body)
Set the Body element for this document container. |
void |
setCodeset(java.lang.String codeset)
Sets the codeset for this Document |
Head |
setHead(Head set_head)
Set the head element for this document container. |
Title |
setTitle(Title set_title)
Set the Title element for this document 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 |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
private static Html html
private static Head head
private static Body body
private static Title title
private static java.lang.String codeset
Constructor Detail |
public Document()
public Document(java.lang.String codeset)
Method Detail |
void()
public Head getHead()
public Head setHead(Head set_head)
public Head appendHead(Element value)
value
- adds to the value between the head tagspublic Head appendHead(java.lang.String value)
value
- adds to the value between the head tagspublic Body getBody()
public Body setBody(Body set_body)
public Body appendBody(Element value)
value
- adds to the value between the body tagspublic Body appendBody(java.lang.String value)
value
- adds to the value between the body tagspublic Title getTitle()
public Title setTitle(Title set_title)
public Title appendTitle(Element value)
value
- adds to the value between the title tagspublic Title 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.BufferedOutputStream out)
public void output(java.io.PrintWriter out)
public final java.lang.String toString()
public final java.lang.String toString(java.lang.String codeset)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |