Class MultipassReplacementPageParser
java.lang.Object
com.opensymphony.module.sitemesh.multipass.MultipassReplacementPageParser
- All Implemented Interfaces:
PageParser
The Class MultipassReplacementPageParser.
-
Constructor Summary
ConstructorsConstructorDescriptionMultipassReplacementPageParser(Page page, javax.servlet.http.HttpServletResponse response) Instantiates a new multipass replacement page parser. -
Method Summary
Modifier and TypeMethodDescriptionparse(char[] buffer) Parse the given buffer into a Page object.parse(SitemeshBuffer sitemeshBuffer) Parse the given buffer into a page object.
-
Constructor Details
-
MultipassReplacementPageParser
Instantiates a new multipass replacement page parser.- Parameters:
page- the pageresponse- the response
-
-
Method Details
-
parse
Description copied from interface:PageParserParse the given buffer into a Page object.- Specified by:
parsein interfacePageParser- Parameters:
buffer- The buffer for the page.- Returns:
- The parsed page
- Throws:
IOException- if an error occurs
-
parse
Description copied from interface:PageParserParse the given buffer into a page object.DefaultSitemeshBufferis the appropriate implementation of this interface to pass in.- Specified by:
parsein interfacePageParser- Parameters:
sitemeshBuffer- The buffer for the page.- Returns:
- The parsed page
- Throws:
IOException- if an error occurs
-