1 7 package org.xml.sax; 8 9 import java.io.IOException ; 10 11 12 60 public interface XMLReader 61 { 62 63 64 68 69 125 public boolean getFeature (String name) 126 throws SAXNotRecognizedException , SAXNotSupportedException ; 127 128 129 152 public void setFeature (String name, boolean value) 153 throws SAXNotRecognizedException , SAXNotSupportedException ; 154 155 156 181 public Object getProperty (String name) 182 throws SAXNotRecognizedException , SAXNotSupportedException ; 183 184 185 210 public void setProperty (String name, Object value) 211 throws SAXNotRecognizedException , SAXNotSupportedException ; 212 213 214 215 219 220 233 public void setEntityResolver (EntityResolver resolver); 234 235 236 243 public EntityResolver getEntityResolver (); 244 245 246 259 public void setDTDHandler (DTDHandler handler); 260 261 262 269 public DTDHandler getDTDHandler (); 270 271 272 286 public void setContentHandler (ContentHandler handler); 287 288 289 296 public ContentHandler getContentHandler (); 297 298 299 315 public void setErrorHandler (ErrorHandler handler); 316 317 318 325 public ErrorHandler getErrorHandler (); 326 327 328 329 333 375 public void parse (InputSource input) 376 throws IOException , SAXException ; 377 378 379 401 public void parse (String systemId) 402 throws IOException , SAXException ; 403 404 } 405 | Popular Tags |