Class FastPage
- java.lang.Object
-
- com.opensymphony.module.sitemesh.parser.AbstractPage
-
- com.opensymphony.module.sitemesh.parser.AbstractHTMLPage
-
- com.opensymphony.module.sitemesh.parser.FastPage
-
public final class FastPage extends AbstractHTMLPage
HTMLPage implementation produced by FastPageParser.- Version:
- $Revision: 1.4 $
- Author:
- Victor Salaman
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringbodyprivate booleanframeSetprivate java.lang.Stringhead-
Fields inherited from class com.opensymphony.module.sitemesh.parser.AbstractPage
pageData
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddAttributeList(java.lang.String prefix, java.util.Map attributes)java.lang.StringgetBody()java.lang.StringgetHead()booleanisFrameSet()Check to see if this page contains an HTML frameset.voidsetVerbatimPage(char[] v)voidwriteBody(java.io.Writer out)Write data of html<body>tag.voidwriteHead(java.io.Writer out)Write data of html<head>tag.-
Methods inherited from class com.opensymphony.module.sitemesh.parser.AbstractPage
addProperty, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, noNull, setRequest, writePage
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.opensymphony.module.sitemesh.Page
addProperty, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, setRequest, writePage
-
-
-
-
Method Detail
-
writeHead
public void writeHead(java.io.Writer out) throws java.io.IOExceptionDescription copied from class:AbstractHTMLPageWrite data of html<head>tag.Must be implemented. Data written should not actually contain the head tags, but all the data in between.
- Specified by:
writeHeadin interfaceHTMLPage- Specified by:
writeHeadin classAbstractHTMLPage- Throws:
java.io.IOException
-
writeBody
public void writeBody(java.io.Writer out) throws java.io.IOExceptionDescription copied from class:AbstractPageWrite data of html<body>tag.Must be implemented. Data written should not actually contain the body tags, but all the data in between.
- Specified by:
writeBodyin interfacePage- Specified by:
writeBodyin classAbstractPage- Throws:
java.io.IOException
-
addAttributeList
private void addAttributeList(java.lang.String prefix, java.util.Map attributes)
-
setVerbatimPage
public void setVerbatimPage(char[] v)
-
isFrameSet
public boolean isFrameSet()
Description copied from interface:HTMLPageCheck to see if this page contains an HTML frameset.
-
getBody
public java.lang.String getBody()
-
getHead
public java.lang.String getHead()
-
-