1 6 package org.xml.sax; 7 8 import java.io.IOException ; 9 import java.util.Locale ; 10 11 12 52 public interface Parser 53 { 54 55 70 public abstract void setLocale (Locale locale) 71 throws SAXException ; 72 73 74 90 public abstract void setEntityResolver (EntityResolver resolver); 91 92 93 109 public abstract void setDTDHandler (DTDHandler handler); 110 111 112 128 public abstract void setDocumentHandler (DocumentHandler handler); 129 130 131 148 public abstract void setErrorHandler (ErrorHandler handler); 149 150 151 178 public abstract void parse (InputSource source) 179 throws SAXException , IOException ; 180 181 182 204 public abstract void parse (String systemId) 205 throws SAXException , IOException ; 206 207 } 208 209 | Popular Tags |