Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sitemesh
Interface PageParser  view PageParser download PageParser.java


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 $

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