1 16 package org.apache.cocoon.xml; 17 18 import org.xml.sax.Attributes ; 19 import org.xml.sax.Locator ; 20 import org.xml.sax.SAXException ; 21 22 29 public abstract class AbstractXMLPipe extends AbstractXMLProducer 30 implements XMLPipe { 31 32 38 public void setDocumentLocator(Locator locator) { 39 contentHandler.setDocumentLocator(locator); 40 } 41 42 45 public void startDocument() 46 throws SAXException { 47 contentHandler.startDocument(); 48 } 49 50 53 public void endDocument() 54 throws SAXException { 55 contentHandler.endDocument(); 56 } 57 58 64 public void startPrefixMapping(String prefix, String uri) 65 throws SAXException { 66 contentHandler.startPrefixMapping(prefix, uri); 67 } 68 69 74 public void endPrefixMapping(String prefix) 75 throws SAXException { 76 contentHandler.endPrefixMapping(prefix); 77 } 78 79 92 public void startElement(String uri, String loc, String raw, Attributes a) 93 throws SAXException { 94 contentHandler.startElement(uri, loc, raw, a); 95 } 96 97 98 109 public void endElement(String uri, String loc, String raw) 110 throws SAXException { 111 contentHandler.endElement(uri, loc, raw); 112 } 113 114 121 public void characters(char c[], int start, int len) 122 throws SAXException { 123 contentHandler.characters(c, start, len); 124 } 125 126 133 public void ignorableWhitespace(char c[], int start, int len) 134 throws SAXException { 135 contentHandler.ignorableWhitespace(c, start, len); 136 } 137 138 145 public void processingInstruction(String target, String data) 146 throws SAXException { 147 contentHandler.processingInstruction(target, data); 148 } 149 150 156 public void skippedEntity(String name) 157 throws SAXException { 158 contentHandler.skippedEntity(name); 159 } 160 161 170 public void startDTD(String name, String publicId, String systemId) 171 throws SAXException { 172 lexicalHandler.startDTD(name, publicId, systemId); 173 } 174 175 178 public void endDTD() 179 throws SAXException { 180 lexicalHandler.endDTD(); 181 } 182 183 189 public void startEntity(String name) 190 throws SAXException { 191 lexicalHandler.startEntity(name); 192 } 193 194 199 public void endEntity(String name) 200 throws SAXException { 201 lexicalHandler.endEntity(name); 202 } 203 204 207 public void startCDATA() 208 throws SAXException { 209 lexicalHandler.startCDATA(); 210 } 211 212 215 public void endCDATA() 216 throws SAXException { 217 lexicalHandler.endCDATA(); 218 } 219 220 227 public void comment(char ch[], int start, int len) 228 throws SAXException { 229 lexicalHandler.comment(ch, start, len); 230 } 231 } 232 | Popular Tags |