/* EmbeddedXMLPipe.java Author: Ovidiu Predescu Date: July 11, 2001 */ package org.apache.cocoon.xml; import org.xml.sax.SAXException; /** * This class implements a ContentHandler for embedding a full SAX * event stream into an existing stream of SAX events. An instance of * this class will pass unmodified all the SAX events to the linked * ContentHandler, but will ignore the startDocument and endDocument * events. * * @author Ovidiu Predescu */ public class EmbeddedXMLPipe extends AbstractXMLPipe { /** * Ignore the startDocument event: this method does nothing. * * @exception SAXException if an error occurs */ public void startDocument() throws SAXException { } /** * Ignore the endDocument event: this method does nothing. * * @exception SAXException if an error occurs */ public void endDocument() throws SAXException { } }