org.apache.cocoon.xml
Class EmbeddedXMLPipe
java.lang.Object
|
+--org.apache.avalon.framework.logger.AbstractLoggable
|
+--org.apache.cocoon.xml.AbstractXMLProducer
|
+--org.apache.cocoon.xml.AbstractXMLPipe
|
+--org.apache.cocoon.xml.EmbeddedXMLPipe
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.ext.LexicalHandler, org.apache.avalon.framework.logger.Loggable, org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, XMLConsumer, XMLPipe, XMLProducer
- public class EmbeddedXMLPipe
- extends AbstractXMLPipe
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.
- Version:
- CVS $Id: EmbeddedXMLPipe.java,v 1.4 2002/02/22 07:03:58 cziegeler Exp $
- Author:
- Ovidiu Predescu
Constructor Summary |
EmbeddedXMLPipe(org.xml.sax.ContentHandler handler)
Creates an EmbeddedXMLPipe that writes into the given ContentHandler. |
Method Summary |
void |
endDocument()
Ignore the endDocument event: this method does nothing. |
void |
startDocument()
Ignore the startDocument event: this method does nothing. |
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe |
characters, comment, endCDATA, endDTD, endElement, endEntity, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startElement, startEntity, startPrefixMapping |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLoggable |
getLogger, setLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedXMLPipe
public EmbeddedXMLPipe(org.xml.sax.ContentHandler handler)
- Creates an EmbeddedXMLPipe that writes into the given ContentHandler.
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Ignore the
startDocument
event: this method does nothing.
- Overrides:
startDocument
in class AbstractXMLPipe
- Throws:
org.xml.sax.SAXException
- if an error occurs
endDocument
public void endDocument()
throws org.xml.sax.SAXException
- Ignore the
endDocument
event: this method does nothing.
- Overrides:
endDocument
in class AbstractXMLPipe
- Throws:
org.xml.sax.SAXException
- if an error occurs
Copyright � 1999-2002 Apache Software Foundation. All Rights Reserved.