View Javadoc
1 // $Id: TrojanContentHandler.java,v 1.1 2004/02/12 22:57:32 powerpete Exp $ 2 // [JMP, 10.02.2004] Created this file. 3 package org.jface.stepmt.transform.util; 4 5 import org.xml.sax.Attributes; 6 import org.xml.sax.ContentHandler; 7 import org.xml.sax.Locator; 8 import org.xml.sax.SAXException; 9 10 /*** 11 * @author <a href="mailto:powerpete@users.sf.net">M. Petersen</a> 12 * @version $Id: TrojanContentHandler.java,v 1.1 2004/02/12 22:57:32 powerpete Exp $ 13 */ 14 public abstract class TrojanContentHandler implements ContentHandler 15 { 16 private ContentHandler contentHandler; 17 18 protected void setContentHandler(ContentHandler handler) 19 { 20 this.contentHandler = handler; 21 } 22 23 public void setDocumentLocator(Locator arg0) 24 { 25 contentHandler.setDocumentLocator(arg0); 26 } 27 28 public void startDocument() throws SAXException 29 { 30 contentHandler.startDocument(); 31 } 32 33 public void endDocument() throws SAXException 34 { 35 contentHandler.endDocument(); 36 } 37 38 public void startPrefixMapping(String arg0, String arg1) 39 throws SAXException 40 { 41 contentHandler.startPrefixMapping(arg0, arg1); 42 } 43 44 public void endPrefixMapping(String arg0) throws SAXException 45 { 46 contentHandler.endPrefixMapping(arg0); 47 } 48 49 public void startElement( 50 String arg0, 51 String arg1, 52 String arg2, 53 Attributes arg3) 54 throws SAXException 55 { 56 contentHandler.startElement(arg0, arg1, arg2, arg3); 57 } 58 59 public void endElement(String arg0, String arg1, String arg2) 60 throws SAXException 61 { 62 contentHandler.endElement(arg0, arg1, arg2); 63 } 64 65 public void characters(char[] arg0, int arg1, int arg2) throws SAXException 66 { 67 contentHandler.characters(arg0, arg1, arg2); 68 } 69 70 public void ignorableWhitespace(char[] arg0, int arg1, int arg2) 71 throws SAXException 72 { 73 contentHandler.ignorableWhitespace(arg0, arg1, arg2); 74 } 75 76 public void processingInstruction(String arg0, String arg1) 77 throws SAXException 78 { 79 contentHandler.processingInstruction(arg0, arg1); 80 } 81 82 public void skippedEntity(String arg0) throws SAXException 83 { 84 contentHandler.skippedEntity(arg0); 85 } 86 }

This page was automatically generated by Maven