public abstract class AbstractHTMLPage extends AbstractPage implements HTMLPage
HTMLPage.
Adds to AbstractPage some HTML methods.
To implement, follow guidelines of super-class, and implement the 2
abstract methods states below.
AbstractPage,
HTMLPage| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHTMLPage(SitemeshBuffer sitemeshBuffer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFrameSet()
Check to see if this page contains an
HTML frameset.
|
void |
setFrameSet(boolean frameset)
Marks this page as a frameset.
|
abstract void |
writeHead(java.io.Writer out)
Write data of html
<head> tag. |
addProperty, getBody, getBooleanProperty, getIntProperty, getLongProperty, getPage, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, noNull, setRequest, writeBody, writePageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProperty, getBody, getBooleanProperty, getIntProperty, getLongProperty, getPage, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, setRequest, writeBody, writePageprotected AbstractHTMLPage(SitemeshBuffer sitemeshBuffer)
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 boolean isFrameSet()
HTMLPageisFrameSet in interface HTMLPagepublic void setFrameSet(boolean frameset)
HTMLPagesetFrameSet in interface HTMLPageHTMLPage.isFrameSet()