|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sitemesh.parser.AbstractPage | +--com.sitemesh.parser.AbstractHTMLPage
Abstract implementation of HTMLPage
.
Adds to AbstractPage
some HTML methods.
To implement, follow guidelines of super-class, and implement the 2
abstract methods states below.
AbstractPage
,
HTMLPage
Fields inherited from class com.sitemesh.parser.AbstractPage |
pageData,
request |
Constructor Summary | |
AbstractHTMLPage()
|
Method Summary | |
java.lang.String |
getDecoratorName()
Return decorator name of from "decorator" property. |
java.lang.String |
getTitle()
Return title of from "title" property. |
void |
writeBody(java.io.OutputStream out)
Calls writeBody(java.io.Writer) |
abstract void |
writeBody(java.io.Writer out)
Write data of html <body> tag. |
void |
writeHead(java.io.OutputStream out)
Calls writeHead(java.io.Writer) |
abstract void |
writeHead(java.io.Writer out)
Write data of html <head> tag. |
Methods inherited from class com.sitemesh.parser.AbstractPage |
addProperty,
getBooleanProperty,
getContentLength,
getIntProperty,
getLongProperty,
getProperties,
getProperty,
getPropertyKeys,
getPropertySize,
getRequest,
isPropertySet,
noNull,
setRequest,
shouldCache,
writePage,
writePage |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public AbstractHTMLPage()
Method Detail |
public abstract void writeHead(java.io.Writer out) throws java.io.IOException
<head>
tag.
Must be implemented. Data written should not actually contain the head tags, but all the data in between.
public abstract void writeBody(java.io.Writer out) throws java.io.IOException
<body>
tag.
Must be implemented. Data written should not actually contain the body tags, but all the data in between.
public void writeHead(java.io.OutputStream out) throws java.io.IOException
writeHead(java.io.Writer)
public void writeBody(java.io.OutputStream out) throws java.io.IOException
writeBody(java.io.Writer)
public java.lang.String getTitle()
public java.lang.String getDecoratorName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |