1 6 package org.xml.sax.ext; 7 8 import java.io.IOException ; 9 import org.xml.sax.InputSource ; 10 import org.xml.sax.SAXException ; 11 import org.xml.sax.helpers.DefaultHandler ; 12 13 14 37 public class DefaultHandler2 extends DefaultHandler 38 implements LexicalHandler , DeclHandler , EntityResolver2 39 { 40 41 public DefaultHandler2 () { } 42 43 44 46 public void startCDATA () 47 throws SAXException 48 {} 49 50 public void endCDATA () 51 throws SAXException 52 {} 53 54 public void startDTD (String name, String publicId, String systemId) 55 throws SAXException 56 {} 57 58 public void endDTD () 59 throws SAXException 60 {} 61 62 public void startEntity (String name) 63 throws SAXException 64 {} 65 66 public void endEntity (String name) 67 throws SAXException 68 {} 69 70 public void comment (char ch [], int start, int length) 71 throws SAXException 72 { } 73 74 75 77 public void attributeDecl (String eName, String aName, 78 String type, String mode, String value) 79 throws SAXException 80 {} 81 82 public void elementDecl (String name, String model) 83 throws SAXException 84 {} 85 86 public void externalEntityDecl (String name, 87 String publicId, String systemId) 88 throws SAXException 89 {} 90 91 public void internalEntityDecl (String name, String value) 92 throws SAXException 93 {} 94 95 97 101 public InputSource getExternalSubset (String name, String baseURI) 102 throws SAXException , IOException 103 { return null; } 104 105 114 public InputSource resolveEntity (String name, String publicId, 115 String baseURI, String systemId) 116 throws SAXException , IOException 117 { return null; } 118 119 121 127 public InputSource resolveEntity (String publicId, String systemId) 128 throws SAXException , IOException 129 { return resolveEntity (null, publicId, null, systemId); } 130 } 131 | Popular Tags |