{@inheritDoc}Resets the state of the parser to a state consistent with the {@code Mode} provided. This will reset finer-grained stateinformation back to a default value, hence use only when you want to parse text from a very clean slate.
See the {@link HtmlParser.Mode} enum for information on allthe valid modes.
@param mode is an enum representing the high-level state of the parser
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.