Class MultipassReplacementPageParser

java.lang.Object
com.opensymphony.module.sitemesh.multipass.MultipassReplacementPageParser
All Implemented Interfaces:
PageParser

public class MultipassReplacementPageParser extends Object implements PageParser
The Class MultipassReplacementPageParser.
  • Constructor Details

    • MultipassReplacementPageParser

      public MultipassReplacementPageParser(Page page, javax.servlet.http.HttpServletResponse response)
      Instantiates a new multipass replacement page parser.
      Parameters:
      page - the page
      response - the response
  • Method Details

    • parse

      public Page parse(char[] buffer) throws IOException
      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 sitemeshBuffer) throws IOException
      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:
      sitemeshBuffer - The buffer for the page.
      Returns:
      The parsed page
      Throws:
      IOException - if an error occurs