Parser
Parses HTML or XML into a com.fleeksoft.ksoup.nodes.Document. Generally, it is simpler to use one of the parse methods in com.fleeksoft.ksoup.Ksoup.
Note that a Parser instance object is not threadsafe. To reuse a Parser configuration in a multi-threaded environment, use .newInstance to make copies.
Functions
Retrieve the parse errors, if any, from the last parse.
(An internal method, visible for Element. For HTML parse, signals that script and style text should be treated as Data Nodes).
Creates a new Parser as a deep copy of this; including initializing a new TreeBuilder. Allows independent (multi-threaded) use.
Gets the current ParseSettings for this Parser
Update the ParseSettings of this Parser, to control the case sensitivity of tags and attributes.
Enable or disable parse error tracking for the next parse.
Enable or disable source position tracking. If enabled, Nodes will have a Position to track where in the original input source they were created from.