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, writePage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProperty, getBody, getBooleanProperty, getIntProperty, getLongProperty, getPage, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, setRequest, writeBody, writePage
protected 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()
HTMLPage
isFrameSet
in interface HTMLPage
public void setFrameSet(boolean frameset)
HTMLPage
setFrameSet
in interface HTMLPage
HTMLPage.isFrameSet()