com.opensymphony.module.sitemesh.parser
Class FastPage

java.lang.Object
  extended by com.opensymphony.module.sitemesh.parser.AbstractPage
      extended by com.opensymphony.module.sitemesh.parser.AbstractHTMLPage
          extended by com.opensymphony.module.sitemesh.parser.FastPage
All Implemented Interfaces:
HTMLPage, Page

public final class FastPage
extends AbstractHTMLPage

HTMLPage implementation produced by FastPageParser.

Version:
$Revision: 1.4 $
Author:
Victor Salaman

Field Summary
private  String body
           
private  boolean frameSet
           
private  String head
           
 
Fields inherited from class com.opensymphony.module.sitemesh.parser.AbstractPage
pageData
 
Constructor Summary
FastPage(Map sitemeshProps, Map htmlProps, Map metaProps, Map bodyProps, String title, String head, String body, boolean frameSet)
           
 
Method Summary
private  void addAttributeList(String prefix, Map attributes)
           
 String getBody()
           
 String getHead()
           
 boolean isFrameSet()
          Check to see if this page contains an HTML frameset.
 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.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
 

Field Detail

head

private String head

body

private String body

frameSet

private boolean frameSet
Constructor Detail

FastPage

public FastPage(Map sitemeshProps,
                Map htmlProps,
                Map metaProps,
                Map bodyProps,
                String title,
                String head,
                String body,
                boolean frameSet)
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 interface HTMLPage
Specified by:
writeHead in class AbstractHTMLPage
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 interface Page
Specified by:
writeBody in class AbstractPage
Throws:
IOException

addAttributeList

private void addAttributeList(String prefix,
                              Map attributes)

setVerbatimPage

public void setVerbatimPage(char[] v)

isFrameSet

public boolean isFrameSet()
Description copied from interface: HTMLPage
Check to see if this page contains an HTML frameset.


getBody

public String getBody()

getHead

public String getHead()

www.opensymphony.com/sitemesh/