1 6 package org.xml.sax; 7 8 45 public class HandlerBase 46 implements EntityResolver , DTDHandler , DocumentHandler , ErrorHandler 47 { 48 49 50 54 73 public InputSource resolveEntity (String publicId, String systemId) 74 throws SAXException 75 { 76 return null; 77 } 78 79 80 81 85 86 99 public void notationDecl (String name, String publicId, String systemId) 100 { 101 } 103 104 105 119 public void unparsedEntityDecl (String name, String publicId, 120 String systemId, String notationName) 121 { 122 } 124 125 126 127 131 132 143 public void setDocumentLocator (Locator locator) 144 { 145 } 147 148 149 161 public void startDocument () 162 throws SAXException 163 { 164 } 166 167 168 180 public void endDocument () 181 throws SAXException 182 { 183 } 185 186 187 201 public void startElement (String name, AttributeList attributes) 202 throws SAXException 203 { 204 } 206 207 208 221 public void endElement (String name) 222 throws SAXException 223 { 224 } 226 227 228 244 public void characters (char ch[], int start, int length) 245 throws SAXException 246 { 247 } 249 250 251 267 public void ignorableWhitespace (char ch[], int start, int length) 268 throws SAXException 269 { 270 } 272 273 274 289 public void processingInstruction (String target, String data) 290 throws SAXException 291 { 292 } 294 295 296 297 301 302 316 public void warning (SAXParseException e) 317 throws SAXException 318 { 319 } 321 322 323 337 public void error (SAXParseException e) 338 throws SAXException 339 { 340 } 342 343 344 361 public void fatalError (SAXParseException e) 362 throws SAXException 363 { 364 throw e; 365 } 366 367 } 368 369 | Popular Tags |