| org.apache.cocoon.xml.AbstractXMLProducer org.apache.cocoon.xml.AbstractXMLPipe org.apache.cocoon.xml.EmbeddedXMLPipe
EmbeddedXMLPipe | public class EmbeddedXMLPipe extends AbstractXMLPipe (Code) | | 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 it will ignore the startDocument/endDocument
and startDTD/endDTD events, as well as all comment events within
the DTD.
author: Ovidiu Predescu version: CVS $Id: EmbeddedXMLPipe.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public void | comment(char ch, int start, int len) Ignore all comment events if between
startDTD/endDTD events. | public void | endDTD() Ignore the endDTD event: this method does nothing. | public void | endDocument() Ignore the endDocument event: this method does nothing. | public void | startDTD(String name, String publicId, String systemId) Ignore the startDTD event: this method does nothing. | public void | startDocument() Ignore the startDocument event: this method does nothing. |
EmbeddedXMLPipe | public EmbeddedXMLPipe(XMLConsumer consumer)(Code) | | Creates an EmbeddedXMLPipe that writes into the given XMLConsumer.
|
EmbeddedXMLPipe | public EmbeddedXMLPipe(ContentHandler handler)(Code) | | Creates an EmbeddedXMLPipe that writes into the given ContentHandler.
|
EmbeddedXMLPipe | public EmbeddedXMLPipe(ContentHandler contentHandler, LexicalHandler lexicalHandler)(Code) | | Creates an EmbeddedXMLPipe that writes into the given ContentHandler.
|
comment | public void comment(char ch, int start, int len) throws SAXException(Code) | | Ignore all comment events if between
startDTD/endDTD events.
exception: SAXException - if an error occurs |
endDocument | public void endDocument() throws SAXException(Code) | | Ignore the endDocument event: this method does nothing.
exception: SAXException - if an error occurs |
startDocument | public void startDocument() throws SAXException(Code) | | Ignore the startDocument event: this method does nothing.
exception: SAXException - if an error occurs |
Methods inherited from org.apache.cocoon.xml.AbstractXMLPipe | public void characters(char c, int start, int len) throws SAXException(Code)(Java Doc) public void comment(char ch, int start, int len) throws SAXException(Code)(Java Doc) public void endCDATA() throws SAXException(Code)(Java Doc) public void endDTD() throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String loc, String raw) throws SAXException(Code)(Java Doc) public void endEntity(String name) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char c, int start, int len) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startCDATA() throws SAXException(Code)(Java Doc) public void startDTD(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String loc, String raw, Attributes a) throws SAXException(Code)(Java Doc) public void startEntity(String name) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc)
|
|
|