1 package org.mr.core.util.xml.sax; 2 3 import org.mr.core.util.xml.XMLManipulator; 4 import org.xml.sax.Attributes ; 5 import org.xml.sax.ContentHandler ; 6 import org.xml.sax.Locator ; 7 import org.xml.sax.SAXException ; 8 import org.xml.sax.ext.LexicalHandler ; 9 10 55 56 62 public class SAXManipulator extends XMLManipulator implements ContentHandler , LexicalHandler { 63 64 68 74 public void setDocumentLocator(Locator locator) { 75 } 76 77 80 public void startDocument() 81 throws SAXException { 82 } 83 84 87 public void endDocument() 88 throws SAXException { 89 } 90 91 97 public void startPrefixMapping(String prefix, String uri) 98 throws SAXException { 99 } 100 101 106 public void endPrefixMapping(String prefix) 107 throws SAXException { 108 } 109 110 123 public void startElement(String uri, String loc, String raw, Attributes a) 124 throws SAXException { 125 126 } 127 128 129 140 public void endElement(String uri, String loc, String raw) 141 throws SAXException { 142 } 143 144 151 public void characters(char c[], int start, int len) 152 throws SAXException { 153 } 154 155 162 public void ignorableWhitespace(char c[], int start, int len) 163 throws SAXException { 164 } 165 166 173 public void processingInstruction(String target, String data) 174 throws SAXException { 175 } 176 177 183 public void skippedEntity(String name) 184 throws SAXException { 185 } 186 187 188 192 201 public void startDTD(String name, String publicId, String systemId) 202 throws SAXException { 203 } 204 205 208 public void endDTD() 209 throws SAXException { 210 } 211 212 218 public void startEntity(String name) 219 throws SAXException { 220 } 221 222 227 public void endEntity(String name) 228 throws SAXException { 229 } 230 231 234 public void startCDATA() 235 throws SAXException { 236 } 237 238 241 public void endCDATA() 242 throws SAXException { 243 } 244 245 252 public void comment(char ch[], int start, int len) 253 throws SAXException { 254 } 255 } | Popular Tags |