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.5 $
- Author:
- Victor Salaman
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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.-
Methods inherited from class com.opensymphony.module.sitemesh.parser.AbstractHTMLPage
isFrameSet, setFrameSet
-
Methods inherited from class com.opensymphony.module.sitemesh.parser.AbstractPage
addProperty, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getPage, 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, getPage, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, setRequest, writePage
-
-
-
-
Method Detail
-
writeHead
public void writeHead(Writer out) throws IOException
Description copied from class:AbstractHTMLPage
Write 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:
writeHead
in interfaceHTMLPage
- Specified by:
writeHead
in classAbstractHTMLPage
- Throws:
IOException
-
writeBody
public void writeBody(Writer out) throws IOException
Description copied from class:AbstractPage
Write 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:
writeBody
in interfacePage
- Specified by:
writeBody
in classAbstractPage
- Throws:
IOException
-
setVerbatimPage
public void setVerbatimPage(char[] v)
-
getBody
public String getBody()
Description copied from interface:Page
Convenience method to return the contents of the<body>
tag.- Specified by:
getBody
in interfacePage
- Overrides:
getBody
in classAbstractPage
- See Also:
Page.writeBody(java.io.Writer)
-
getHead
public String getHead()
Description copied from interface:HTMLPage
Convenience method to return the contents of the<head>
tag as a String.- See Also:
HTMLPage.writeHead(java.io.Writer)
-
-