|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectview.GoResponse
view.page.GoPage
public abstract class GoPage
Field Summary | |
---|---|
private Div |
content
|
private XHTMLDocument |
doc
|
Constructor Summary | |
---|---|
protected |
GoPage(boolean logged)
Constructs the page. |
Method Summary | |
---|---|
protected Div |
getContent()
Returns the content 'div' element of the page. |
java.lang.String |
getSource()
Returns the XHTML source code of the page. |
java.lang.String |
getSource(int indent_width)
As above, but with indentation. |
protected void |
setOnLoad(java.lang.String onload)
Sets the onload attribute of 'body'. |
protected void |
setTitleText(java.lang.String text)
Sets the the title text of the page. |
Methods inherited from class view.GoResponse |
---|
addCookie, getCookies |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final transient XHTMLDocument doc
private final transient Div content
Constructor Detail |
---|
protected GoPage(boolean logged)
logged
- if true, the viewer of the page is considered
an administrator and a navigation bar is
included on the page.Method Detail |
---|
protected Div getContent()
protected void setTitleText(java.lang.String text)
text
- the text to set.protected void setOnLoad(java.lang.String onload)
onload
- the value for the attribute.public java.lang.String getSource()
public java.lang.String getSource(int indent_width)
indent_width
- the width of the indentation in spaces.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |