1 17 package org.apache.excalibur.xml.sax; 18 19 import org.xml.sax.Attributes ; 20 import org.xml.sax.ContentHandler ; 21 import org.xml.sax.Locator ; 22 import org.xml.sax.SAXException ; 23 24 31 public class NOPContentHandler 32 implements ContentHandler 33 { 34 39 public void setDocumentLocator( final Locator locator ) 40 { 41 } 42 43 46 public void startDocument() 47 throws SAXException 48 { 49 } 50 51 54 public void endDocument() 55 throws SAXException 56 { 57 } 58 59 65 public void startPrefixMapping( final String prefix, 66 final String uri ) 67 throws SAXException 68 { 69 } 70 71 76 public void endPrefixMapping( final String prefix ) 77 throws SAXException 78 { 79 } 80 81 94 public void startElement( final String uri, 95 final String loc, 96 final String raw, 97 final Attributes a ) 98 throws SAXException 99 { 100 } 101 102 113 public void endElement( final String uri, 114 final String loc, 115 final String raw ) 116 throws SAXException 117 { 118 } 119 120 127 public void characters( final char[] ch, 128 final int start, 129 final int len ) 130 throws SAXException 131 { 132 } 133 134 141 public void ignorableWhitespace( final char[] ch, 142 final int start, 143 final int len ) 144 throws SAXException 145 { 146 } 147 148 155 public void processingInstruction( final String target, 156 final String data ) 157 throws SAXException 158 { 159 } 160 161 167 public void skippedEntity( final String name ) 168 throws SAXException 169 { 170 } 171 } 172 | Popular Tags |