|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A front end to a DOM parser that can handle HTML.
Method Summary | |
java.lang.String |
getCleanedText(java.lang.String string)
Removes any string artifacts placed in the text by the parser. |
void |
parse(java.net.URL baseURL,
java.lang.String pageText,
DocumentAdapter adapter)
Parses the specified text string as a Document, registering it in the HTMLPage. |
boolean |
supportsForceTagCase()
Returns true if this parser supports forcing the upper/lower case of tag and attribute names. |
boolean |
supportsParserWarnings()
Returns true if this parser can display parser warnings. |
boolean |
supportsPreserveTagCase()
Returns true if this parser supports preservation of the case of tag and attribute names. |
boolean |
supportsReturnHTMLDocument()
Returns true if this parser can return an HTMLDocument object. |
Method Detail |
public void parse(java.net.URL baseURL, java.lang.String pageText, DocumentAdapter adapter) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXException
public java.lang.String getCleanedText(java.lang.String string)
public boolean supportsPreserveTagCase()
public boolean supportsForceTagCase()
public boolean supportsReturnHTMLDocument()
public boolean supportsParserWarnings()
|
Copyright © 2000-2008 Russell Gold. See license agreement for rights granted. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |