- xmlParser
Create a new XML parser. This parser assumes no knowledge of the incoming tags
and does not treat it
- htmlParser
Create a new HTML parser. This parser treats input as HTML5, and enforces the
creation of a normalis
- parseInput
- unescapeEntities
Utility method to unescape HTML entities from a string
- <init>
Create a new Parser, using the specified TreeBuilder
- parse
Parse HTML into a Document.
- setTrackErrors
Enable or disable parse error tracking for the next parse.
- getErrors
Retrieve the parse errors, if any, from the last parse.
- isTrackErrors
Check if parse error tracking is enabled.
- parseBodyFragment
Parse a fragment of HTML into the body of a Document.
- parseFragment
Parse a fragment of HTML into a list of nodes. The context element, if supplied,
supplies parsing co