Class FastPageParser

java.lang.Object
com.opensymphony.module.sitemesh.parser.FastPageParser
All Implemented Interfaces:
PageParser

@Deprecated public final class FastPageParser extends Object implements PageParser
Deprecated.
Use HTMLPageParser instead - it performs better and is more extensible.
Very fast PageParser implementation for parsing HTML.

Produces FastPage.

Author:
Victor Salaman
  • Constructor Details

    • FastPageParser

      public FastPageParser()
      Deprecated.
  • Method Details

    • parse

      public Page parse(char[] buffer) throws IOException
      Deprecated.
      Description copied from interface: PageParser
      Parse the given buffer into a Page object.
      Specified by:
      parse in interface PageParser
      Parameters:
      buffer - The buffer for the page.
      Returns:
      The parsed page
      Throws:
      IOException - if an error occurs
    • parse

      public Page parse(SitemeshBuffer buffer) throws IOException
      Deprecated.
      Description copied from interface: PageParser
      Parse the given buffer into a page object. DefaultSitemeshBuffer is the appropriate implementation of this interface to pass in.
      Specified by:
      parse in interface PageParser
      Parameters:
      buffer - The buffer for the page.
      Returns:
      The parsed page
      Throws:
      IOException - if an error occurs