java.lang.Object
com.meterware.httpunit.parsing.NekoHTMLParser
- All Implemented Interfaces:
- HTMLParser
- class NekoHTMLParser
- extends java.lang.Object
- implements HTMLParser
|
Field Summary |
private static char |
NBSP
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NBSP
private static final char NBSP
- See Also:
- Constant Field Values
NekoHTMLParser
NekoHTMLParser()
parse
public void parse(java.net.URL pageURL,
java.lang.String pageText,
DocumentAdapter adapter)
throws java.io.IOException,
org.xml.sax.SAXException
- Description copied from interface:
HTMLParser
- Parses the specified text string as a Document, registering it in the HTMLPage.
Any error reporting will be annotated with the specified URL.
- Specified by:
parse in interface HTMLParser
getCleanedText
public java.lang.String getCleanedText(java.lang.String string)
- Description copied from interface:
HTMLParser
- Removes any string artifacts placed in the text by the parser. For example, a parser may choose to encode
an HTML entity as a special character. This method should convert that character to normal text.
- Specified by:
getCleanedText in interface HTMLParser
supportsPreserveTagCase
public boolean supportsPreserveTagCase()
- Description copied from interface:
HTMLParser
- Returns true if this parser supports preservation of the case of tag and attribute names.
- Specified by:
supportsPreserveTagCase in interface HTMLParser
supportsReturnHTMLDocument
public boolean supportsReturnHTMLDocument()
- Description copied from interface:
HTMLParser
- Returns true if this parser can return an HTMLDocument object.
- Specified by:
supportsReturnHTMLDocument in interface HTMLParser
supportsParserWarnings
public boolean supportsParserWarnings()
- Description copied from interface:
HTMLParser
- Returns true if this parser can display parser warnings.
- Specified by:
supportsParserWarnings in interface HTMLParser