Class MultipassReplacementPageParser

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

public class MultipassReplacementPageParser extends Object implements PageParser
  • Constructor Details

    • MultipassReplacementPageParser

      public MultipassReplacementPageParser(Page page, jakarta.servlet.http.HttpServletResponse 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