001    package fi.iki.hsivonen.htmlparser;
002    
003    import org.xml.sax.SAXException;
004    
005    /**
006     * @version $Id: DoctypeHandler.java,v 1.1 2006/04/18 11:50:40 hsivonen Exp $
007     * @author hsivonen
008     */
009    public interface DoctypeHandler {
010        public final static int ANY_DOCTYPE = 0;
011    
012        public final static int DOCTYPE_HTML401_TRANSITIONAL = 1;
013    
014        public final static int DOCTYPE_HTML401_STRICT = 2;
015    
016        public final static int DOCTYPE_HTML5 = 3;
017    
018        public void doctype(int doctype) throws SAXException;
019    }