1 13 14 package com.icl.saxon.aelfred; 15 16 import org.xml.sax.AttributeList ; 17 import org.xml.sax.ContentHandler ; 18 import org.xml.sax.SAXException ; 19 import org.xml.sax.ext.LexicalHandler ; 20 import org.xml.sax.ext.DeclHandler ; 21 22 23 25 34 public class DefaultHandler extends org.xml.sax.helpers.DefaultHandler 35 implements LexicalHandler , DeclHandler 36 { 37 38 public DefaultHandler () { } 39 40 52 54 55 public void startCDATA () 56 throws SAXException 57 {} 58 59 60 public void endCDATA () 61 throws SAXException 62 {} 63 64 65 public void startDTD (String root, String pubid, String sysid) 66 throws SAXException 67 {} 68 69 70 public void endDTD () 71 throws SAXException 72 {} 73 74 77 public void startEntity (String name) 78 throws SAXException 79 {} 80 81 84 public void endEntity (String name) 85 throws SAXException 86 {} 87 88 89 public void comment (char buf [], int off, int len) 90 throws SAXException 91 { } 92 93 95 96 public void attributeDecl (String element, String name, 97 String type, String defaultType, String defaltValue) 98 throws SAXException 99 {} 100 101 102 public void elementDecl (String name, String model) 103 throws SAXException 104 {} 105 106 107 public void externalEntityDecl (String name, String pubid, String sysid) 108 throws SAXException 109 {} 110 111 112 public void internalEntityDecl (String name, String value) 113 throws SAXException 114 {} 115 } 116 | Popular Tags |