1 8 package org.apache.avalon.excalibur.xml; 9 10 import org.apache.avalon.framework.logger.AbstractLogEnabled; 11 import org.xml.sax.Attributes ; 12 import org.xml.sax.Locator ; 13 import org.xml.sax.SAXException ; 14 15 23 public abstract class AbstractXMLConsumer 24 extends AbstractLogEnabled 25 implements XMLConsumer { 26 27 33 public void setDocumentLocator(Locator locator) { 34 } 35 36 39 public void startDocument() 40 throws SAXException { 41 } 42 43 46 public void endDocument() 47 throws SAXException { 48 } 49 50 56 public void startPrefixMapping(String prefix, String uri) 57 throws SAXException { 58 } 59 60 65 public void endPrefixMapping(String prefix) 66 throws SAXException { 67 } 68 69 82 public void startElement(String uri, String loc, String raw, Attributes a) 83 throws SAXException { 84 } 85 86 87 98 public void endElement(String uri, String loc, String raw) 99 throws SAXException { 100 } 101 102 109 public void characters(char ch[], int start, int len) 110 throws SAXException { 111 } 112 113 120 public void ignorableWhitespace(char ch[], int start, int len) 121 throws SAXException { 122 } 123 124 131 public void processingInstruction(String target, String data) 132 throws SAXException { 133 } 134 135 141 public void skippedEntity(String name) 142 throws SAXException { 143 } 144 145 154 public void startDTD(String name, String publicId, String systemId) 155 throws SAXException { 156 } 157 158 161 public void endDTD() 162 throws SAXException { 163 } 164 165 171 public void startEntity(String name) 172 throws SAXException { 173 } 174 175 180 public void endEntity(String name) 181 throws SAXException { 182 } 183 184 187 public void startCDATA() 188 throws SAXException { 189 } 190 191 194 public void endCDATA() 195 throws SAXException { 196 } 197 198 199 206 public void comment(char ch[], int start, int len) 207 throws SAXException { 208 } 209 } 210 | Popular Tags |