getHTMLParser() Returns a parser suitable for parsing HTML documents.
The NekoHTML parser is used with some settings to
preserve case of tag names and disable namespace processing.
parse(DOMParser parser, String source) Parses the specified XML with the specified parser.
The main purpose of this method is to use the NekoHTML
parser with custom features and properties.
Returns a parser suitable for parsing HTML documents.
The NekoHTML parser is used with some settings to
preserve case of tag names and disable namespace processing.
This method is used by
XmlUtil.parseHTML .
instance of org.apache.xerces.parsers.DOMParserwith Neko configuration
Parses the specified XML with the specified parser.
The main purpose of this method is to use the NekoHTML
parser with custom features and properties. If you can live
with the settings provided by Mockrunner, you can use
XmlUtil.parseHTML .
Parameters: parser - the parser (must extend org.apache.xerces.parsers.DOMParser), e.g. the one returned by XmlUtil.getHTMLParser Parameters: source - the XML as String the parsed document as org.w3c.dom.Document
Parses the specified HTML with the NekoHTML parser.
If you want to use another HTML parser or configure
the NekoHTML parser with special features, you can use
the parse method.
Parameters: source - the HTML as String the parsed document as org.w3c.dom.Document