class HtmlParser extends XmlParser {


    /**
     * Parses a given file that validates with the iText DTD and writes the content to a document.
     *
     * @param document the document the parser will write to
     * @param is       the InputSource with the content
     */
    public static void parse(DocListener document, InputSource is) {
        HtmlParser parser = new HtmlParser();
        parser.go(document, is);
    }

    /**
     * Parses a given file that validates with the iText DTD and writes the content to a document.
     *
     * @param document the document the parser will write to
     * @param file     the file with the content
     */
    public static void parse(DocListener document, String file) {
        HtmlParser parser = new HtmlParser();
        parser.go(document, file);
    }

    /**
     * Parses a given file that validates with the iText DTD and writes the content to a document.
     *
     * @param document the document the parser will write to
     * @param is       the InputStream with the content
     */

    public static void parse(DocListener document, InputStream is) {
        HtmlParser parser = new HtmlParser();
        parser.go(document, new InputSource(is));
    }

    /**
     * Parses a given file that validates with the iText DTD and writes the content to a document.
     *
     * @param document the document the parser will write to
     * @param is       the Reader with the content
     */

    public static void parse(DocListener document, Reader is) {
        HtmlParser parser = new HtmlParser();
        parser.go(document, new InputSource(is));
    }

    /**
     * Parses a given file.
     *
     * @param document the document the parser will write to
     * @param is       the InputSource with the content
     */
    @Override
    public void go(DocListener document, InputSource is) {<FILL_FUNCTION_BODY>}

    /**
     * Parses a given file.
     *
     * @param document the document the parser will write to
     * @param file     the file with the content
     */
    @Override
    public void go(DocListener document, String file) {
        try {
            parser.parse(file, new SAXmyHtmlHandler(document));
        } catch (SAXException | IOException se) {
            throw new ExceptionConverter(se);
        }
    }

    /**
     * Parses a given file.
     *
     * @param document the document the parser will write to
     * @param is       the InputStream with the content
     */
    public void go(DocListener document, InputStream is) {
        try {
            parser.parse(new InputSource(is), new SAXmyHtmlHandler(document));
        } catch (SAXException | IOException se) {
            throw new ExceptionConverter(se);
        }
    }

    /**
     * Parses a given file.
     *
     * @param document the document the parser will write to
     * @param is       the Reader with the content
     */
    public void go(DocListener document, Reader is) {
        try {
            parser.parse(new InputSource(is), new SAXmyHtmlHandler(document));
        } catch (SAXException | IOException se) {
            throw new ExceptionConverter(se);
        }
    }
}

        try {
            parser.parse(is, new SAXmyHtmlHandler(document));
        } catch (SAXException | IOException se) {
            throw new ExceptionConverter(se);
        }
    
<methods>public void <init>() ,public void go(com.lowagie.text.DocListener, org.xml.sax.InputSource) ,public void go(com.lowagie.text.DocListener, org.xml.sax.InputSource, java.lang.String) ,public void go(com.lowagie.text.DocListener, org.xml.sax.InputSource, java.io.InputStream) ,public void go(com.lowagie.text.DocListener, org.xml.sax.InputSource, Map<java.lang.String,com.lowagie.text.xml.XmlPeer>) ,public void go(com.lowagie.text.DocListener, java.lang.String) ,public void go(com.lowagie.text.DocListener, java.lang.String, java.lang.String) ,public void go(com.lowagie.text.DocListener, java.lang.String, Map<java.lang.String,com.lowagie.text.xml.XmlPeer>) ,public static void parse(com.lowagie.text.DocListener, org.xml.sax.InputSource) ,public static void parse(com.lowagie.text.DocListener, org.xml.sax.InputSource, java.lang.String) ,public static void parse(com.lowagie.text.DocListener, org.xml.sax.InputSource, Map<java.lang.String,com.lowagie.text.xml.XmlPeer>) ,public static void parse(com.lowagie.text.DocListener, java.lang.String) ,public static void parse(com.lowagie.text.DocListener, java.lang.String, java.lang.String) ,public static void parse(com.lowagie.text.DocListener, java.lang.String, Map<java.lang.String,com.lowagie.text.xml.XmlPeer>) ,public static void parse(com.lowagie.text.DocListener, java.io.InputStream) ,public static void parse(com.lowagie.text.DocListener, java.io.InputStream, java.lang.String) ,public static void parse(com.lowagie.text.DocListener, java.io.InputStream, Map<java.lang.String,com.lowagie.text.xml.XmlPeer>) ,public static void parse(com.lowagie.text.DocListener, java.io.Reader) ,public static void parse(com.lowagie.text.DocListener, java.io.Reader, java.lang.String) ,public static void parse(com.lowagie.text.DocListener, java.io.Reader, Map<java.lang.String,com.lowagie.text.xml.XmlPeer>) <variables>protected javax.xml.parsers.SAXParser parser