|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PageParserSelector
| Method Summary | |
|---|---|
PageParser |
getPageParser(String contentType)
Create a PageParser suitable for the given content-type. |
boolean |
shouldParsePage(String contentType)
Determine whether a Page of given content-type should be parsed or not. |
| Method Detail |
|---|
boolean shouldParsePage(String contentType)
PageParser getPageParser(String contentType)
For example, if the supplied parameter is text/html
a parser shall be returned that can parse HTML accordingly.
contentType - The MIME content-type of the data to be parsed
PageParser for reading data
|
www.opensymphony.com/sitemesh/ | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||