com.opensymphony.module.sitemesh.parser
Class AbstractHTMLPage

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

public abstract class AbstractHTMLPage
extends AbstractPage
implements HTMLPage

Abstract implementation of HTMLPage.

Adds to AbstractPage some HTML methods. To implement, follow guidelines of super-class, and implement the 2 abstract methods states below.

Version:
$Revision: 1.1 $
Author:
Joe Walnes
See Also:
AbstractPage, HTMLPage

Field Summary
 
Fields inherited from class com.opensymphony.module.sitemesh.parser.AbstractPage
pageData
 
Constructor Summary
AbstractHTMLPage()
           
 
Method Summary
abstract  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, writeBody, 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.HTMLPage
isFrameSet
 
Methods inherited from interface com.opensymphony.module.sitemesh.Page
addProperty, getBooleanProperty, getContentLength, getIntProperty, getLongProperty, getProperties, getProperty, getPropertyKeys, getRequest, getTitle, isPropertySet, setRequest, writeBody, writePage
 

Constructor Detail

AbstractHTMLPage

public AbstractHTMLPage()
Method Detail

writeHead

public abstract void writeHead(Writer out)
                        throws IOException
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
Throws:
IOException

www.opensymphony.com/sitemesh/