1 17 package org.apache.excalibur.xml.sax; 18 19 import org.apache.avalon.framework.logger.AbstractLogEnabled; 20 import org.xml.sax.Attributes ; 21 import org.xml.sax.Locator ; 22 import org.xml.sax.SAXException ; 23 24 32 public abstract class AbstractXMLConsumer 33 extends AbstractLogEnabled 34 implements XMLConsumer 35 { 36 42 public void setDocumentLocator( final Locator locator ) 43 { 44 } 45 46 49 public void startDocument() 50 throws SAXException 51 { 52 } 53 54 57 public void endDocument() 58 throws SAXException 59 { 60 } 61 62 68 public void startPrefixMapping( final String prefix, 69 final String uri ) 70 throws SAXException 71 { 72 } 73 74 79 public void endPrefixMapping( final String prefix ) 80 throws SAXException 81 { 82 } 83 84 97 public void startElement( final String uri, 98 final String loc, 99 final String raw, 100 final Attributes a ) 101 throws SAXException 102 { 103 } 104 105 116 public void endElement( final String uri, 117 final String loc, 118 final String raw ) 119 throws SAXException 120 { 121 } 122 123 130 public void characters( final char[] ch, 131 final int start, 132 final int len ) 133 throws SAXException 134 { 135 } 136 137 144 public void ignorableWhitespace( final char[] ch, 145 final int start, 146 final int len ) 147 throws SAXException 148 { 149 } 150 151 158 public void processingInstruction( final String target, 159 final String data ) 160 throws SAXException 161 { 162 } 163 164 170 public void skippedEntity( final String name ) 171 throws SAXException 172 { 173 } 174 175 184 public void startDTD( final String name, 185 final String publicId, 186 final String systemId ) 187 throws SAXException 188 { 189 } 190 191 194 public void endDTD() 195 throws SAXException 196 { 197 } 198 199 205 public void startEntity( final String name ) 206 throws SAXException 207 { 208 } 209 210 215 public void endEntity( final String name ) 216 throws SAXException 217 { 218 } 219 220 223 public void startCDATA() 224 throws SAXException 225 { 226 } 227 228 231 public void endCDATA() 232 throws SAXException 233 { 234 } 235 236 243 public void comment( final char[] ch, 244 final int start, 245 final int len ) 246 throws SAXException 247 { 248 } 249 } 250 | Popular Tags |