Class PartialPageParser
java.lang.Object
com.opensymphony.module.sitemesh.parser.PartialPageParser
- All Implemented Interfaces:
PageParser
- Direct Known Subclasses:
SuperFastSimplePageParser
Page parser that doesn't parse the full page, but rather just parses the head section of the page.
- Since:
- v2.5
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Class ContentTagSimpleMap.static classThe Class HashSimpleMap.static classThe Class MetaTagSimpleMap.static interfaceThe Interface SimpleMap. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(char[] buffer) Parse the given buffer into a Page object.parse(SitemeshBuffer buffer) Parse the given buffer into a page object.
-
Constructor Details
-
PartialPageParser
public PartialPageParser()
-
-
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:
buffer- The buffer for the page.- Returns:
- The parsed page
- Throws:
IOException- if an error occurs
-