|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.sitemesh.parser.AbstractPageParser
|
+--com.sitemesh.parser.DOMPageParser
Implementation of PageParser that builds up a
HTMLPage using DOM.
This implementation uses OpenXML 1.2 as it is capable of parsing (and beform basic clean-up operations) on HTML.
| Constructor Summary | |
DOMPageParser()
|
|
| Method Summary | |
Page |
parse(byte[] data)
Send data to DOM parser and build new DOMPage. |
| Methods inherited from class com.sitemesh.parser.AbstractPageParser |
parse,
parse,
parse,
parse |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public DOMPageParser()
| Method Detail |
public Page parse(byte[] data)
throws java.io.IOException
DOMPage. If the data
cannot be parsed, an UnParsedPage
is returned instead.PageParser
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||