public class PartialPageParser extends java.lang.Object implements PageParser
| Modifier and Type | Class and Description |
|---|---|
static class |
PartialPageParser.ContentTagSimpleMap |
static class |
PartialPageParser.HashSimpleMap |
static class |
PartialPageParser.MetaTagSimpleMap |
static interface |
PartialPageParser.SimpleMap |
| Constructor and Description |
|---|
PartialPageParser() |
| Modifier and Type | Method and Description |
|---|---|
Page |
parse(char[] buffer)
Parse the given buffer into a Page object.
|
Page |
parse(SitemeshBuffer buffer)
Parse the given buffer into a page object.
|
public Page parse(char[] buffer) throws java.io.IOException
PageParserparse in interface PageParserbuffer - The buffer for the page.java.io.IOException - if an error occurspublic Page parse(SitemeshBuffer buffer) throws java.io.IOException
PageParserDefaultSitemeshBuffer is the appropriate implementation of
this interface to pass in.parse in interface PageParserbuffer - The buffer for the page.java.io.IOException - if an error occurs