Interface PageParser

  • All Known Implementing Classes:
    DefaultPageParser, FastPageParser

    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 .

    A single PageParser is reused, therefore the parse() methods need to be thread-safe.

    Version:
    $Revision: 1.2 $
    Author:
    Joe Walnes
    • Method Detail

      • parse

        Page parse​(char[] data)
            throws java.io.IOException
        This builds a Page.
        Throws:
        java.io.IOException