1 16 package org.apache.cocoon.transformation.helpers; 17 18 import org.apache.cocoon.xml.XMLConsumer; 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 import org.xml.sax.ext.LexicalHandler ; 24 25 31 public abstract class NOPRecorder 32 implements ContentHandler , LexicalHandler , XMLConsumer { 33 34 public NOPRecorder() { 35 } 36 37 public void setDocumentLocator(Locator locator) { 38 } 39 40 public void startDocument() 41 throws SAXException { 42 } 43 44 public void endDocument() 45 throws SAXException { 46 } 47 48 public void startPrefixMapping(String prefix, String uri) 49 throws SAXException { 50 } 51 52 public void endPrefixMapping(String prefix) 53 throws SAXException { 54 } 55 56 public void startElement(String namespace, String name, String raw, 57 Attributes attr) 58 throws SAXException { 59 } 60 61 public void endElement(String namespace, String name, String raw) 62 throws SAXException { 63 } 64 65 public void characters(char ary[], int start, int length) 66 throws SAXException { 67 } 68 69 public void ignorableWhitespace(char ary[], int start, int length) 70 throws SAXException { 71 } 72 73 public void processingInstruction(String target, String data) 74 throws SAXException { 75 } 76 77 public void skippedEntity(String name) 78 throws SAXException { 79 } 80 81 public void startDTD(String name, String public_id, String system_id) 82 throws SAXException { 83 } 84 85 public void endDTD() throws SAXException { 86 } 87 88 public void startEntity(String name) throws SAXException { 89 } 90 91 public void endEntity(String name) throws SAXException { 92 } 93 94 public void startCDATA() throws SAXException { 95 } 96 97 public void endCDATA() throws SAXException { 98 } 99 100 public void comment(char ary[], int start, int length) 101 throws SAXException { 102 } 103 } 104 | Popular Tags |