com.sitemesh
Interface PageParser

All Known Implementing Classes:
AbstractPageParser

public interface PageParser

The PageParser is responsible for parsing the page data into an appropriate Page object.

The implementation of this can be switched to parse different kind of data (e.g. HTML, WML, FOP, images) or for performance enhancements. An implementation is obtained through the Factory .

Methods are provided to parse data from a variety of input sources.

Version:
$Revision: 1.3 $
Author:
Joe Walnes

Method Summary
 Page parse(byte[] data)
           
 Page parse(char[] data)
           
 Page parse(org.xml.sax.InputSource in)
           
 Page parse(java.io.InputStream in)
           
 Page parse(java.io.Reader in)
           
 

Method Detail

parse

public Page parse(java.io.InputStream in)
           throws java.io.IOException

parse

public Page parse(java.io.Reader in)
           throws java.io.IOException

parse

public Page parse(org.xml.sax.InputSource in)
           throws java.io.IOException

parse

public Page parse(char[] data)
           throws java.io.IOException

parse

public Page parse(byte[] data)
           throws java.io.IOException