public final class FastPage extends AbstractHTMLPage
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
body |
private boolean |
frameSet |
private java.lang.String |
head |
pageData| Constructor and Description |
|---|
FastPage(java.util.Map sitemeshProps,
java.util.Map htmlProps,
java.util.Map metaProps,
java.util.Map bodyProps,
java.lang.String title,
java.lang.String head,
java.lang.String body,
boolean frameSet) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addAttributeList(java.lang.String prefix,
java.util.Map attributes) |
java.lang.String |
getBody() |
java.lang.String |
getHead() |
boolean |
isFrameSet()
Check to see if this page contains an
HTML frameset.
|
void |
setVerbatimPage(char[] v) |
void |
writeBody(java.io.Writer out)
Write data of html
<body> tag. |
void |
writeHead(java.io.Writer out)
Write data of html
<head> tag. |
addProperty, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, noNull, setRequest, writePageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProperty, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, setRequest, writePageprivate java.lang.String head
private java.lang.String body
private boolean frameSet
public FastPage(java.util.Map sitemeshProps,
java.util.Map htmlProps,
java.util.Map metaProps,
java.util.Map bodyProps,
java.lang.String title,
java.lang.String head,
java.lang.String body,
boolean frameSet)
public void writeHead(java.io.Writer out)
throws java.io.IOException
AbstractHTMLPage<head> tag.
Must be implemented. Data written should not actually contain the head tags, but all the data in between.
writeHead in interface HTMLPagewriteHead in class AbstractHTMLPagejava.io.IOExceptionpublic void writeBody(java.io.Writer out)
throws java.io.IOException
AbstractPage<body> tag.
Must be implemented. Data written should not actually contain the body tags, but all the data in between.
writeBody in interface PagewriteBody in class AbstractPagejava.io.IOExceptionprivate void addAttributeList(java.lang.String prefix,
java.util.Map attributes)
public void setVerbatimPage(char[] v)
public boolean isFrameSet()
HTMLPagepublic java.lang.String getBody()
public java.lang.String getHead()