public final class FastPage extends AbstractHTMLPage
Modifier and Type | Field | Description |
---|---|---|
private String |
body |
|
private String |
head |
pageData
Constructor | Description |
---|---|
FastPage(Map sitemeshProps,
Map htmlProps,
Map metaProps,
Map bodyProps,
String title,
String head,
String body,
boolean frameSet) |
Modifier and Type | Method | Description |
---|---|---|
private void |
addAttributeList(String prefix,
Map attributes) |
|
String |
getBody() |
Convenience method to return the contents of the
<body> tag. |
String |
getHead() |
Convenience method to return the contents of the
<head> tag as a String. |
void |
setVerbatimPage(char[] v) |
|
void |
writeBody(Writer out) |
Write data of html
<body> tag. |
void |
writeHead(Writer out) |
Write data of html
<head> tag. |
isFrameSet, setFrameSet
addProperty, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getPage, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, noNull, setRequest, writePage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProperty, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getPage, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, setRequest, writePage
public void writeHead(Writer out) throws 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 HTMLPage
writeHead
in class AbstractHTMLPage
IOException
public void writeBody(Writer out) throws 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 Page
writeBody
in class AbstractPage
IOException
public void setVerbatimPage(char[] v)
public String getBody()
Page
<body>
tag.getBody
in interface Page
getBody
in class AbstractPage
Page.writeBody(java.io.Writer)
public String getHead()
HTMLPage
<head>
tag as a String.HTMLPage.writeHead(java.io.Writer)