com.opensymphony.module.sitemesh.parser
Class UnParsedPage

java.lang.Object
  extended by com.opensymphony.module.sitemesh.parser.AbstractPage
      extended by com.opensymphony.module.sitemesh.parser.UnParsedPage
All Implemented Interfaces:
Page

public final class UnParsedPage
extends AbstractPage

A page that is of unrecognised content-type, or cannot be parsed into a specific type of Page.

The original page is contained within, but no meta-data or parsed chunks.

Version:
$Revision: 1.1 $
Author:
Joe Walnes
See Also:
Page

Field Summary
 
Fields inherited from class com.opensymphony.module.sitemesh.parser.AbstractPage
pageData
 
Constructor Summary
UnParsedPage(char[] original)
          Simple constructor.
 
Method Summary
 void writeBody(Writer out)
          Write data of html <body> 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
 

Constructor Detail

UnParsedPage

public UnParsedPage(char[] original)
Simple constructor.

Parameters:
original - Original data of page.
Method Detail

writeBody

public void writeBody(Writer out)
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

www.opensymphony.com/sitemesh/