1 16 package org.apache.cocoon.xml; 17 18 import org.apache.avalon.framework.logger.AbstractLogEnabled; 19 import org.xml.sax.Attributes ; 20 import org.xml.sax.Locator ; 21 import org.xml.sax.SAXException ; 22 23 31 public abstract class AbstractXMLConsumer extends AbstractLogEnabled implements XMLConsumer { 32 33 39 public void setDocumentLocator(Locator locator) { 40 } 41 42 45 public void startDocument() 46 throws SAXException { 47 } 48 49 52 public void endDocument() 53 throws SAXException { 54 } 55 56 62 public void startPrefixMapping(String prefix, String uri) 63 throws SAXException { 64 } 65 66 71 public void endPrefixMapping(String prefix) 72 throws SAXException { 73 } 74 75 88 public void startElement(String uri, String loc, String raw, Attributes a) 89 throws SAXException { 90 } 91 92 93 104 public void endElement(String uri, String loc, String raw) 105 throws SAXException { 106 } 107 108 115 public void characters(char ch[], int start, int len) 116 throws SAXException { 117 } 118 119 126 public void ignorableWhitespace(char ch[], int start, int len) 127 throws SAXException { 128 } 129 130 137 public void processingInstruction(String target, String data) 138 throws SAXException { 139 } 140 141 147 public void skippedEntity(String name) 148 throws SAXException { 149 } 150 151 160 public void startDTD(String name, String publicId, String systemId) 161 throws SAXException { 162 } 163 164 167 public void endDTD() 168 throws SAXException { 169 } 170 171 177 public void startEntity(String name) 178 throws SAXException { 179 } 180 181 186 public void endEntity(String name) 187 throws SAXException { 188 } 189 190 193 public void startCDATA() 194 throws SAXException { 195 } 196 197 200 public void endCDATA() 201 throws SAXException { 202 } 203 204 205 212 public void comment(char ch[], int start, int len) 213 throws SAXException { 214 } 215 } 216 | Popular Tags |