org.apache.cocoon.xml.dom
Class DOMStreamer.DefaultDOMStreamer
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.xml.AbstractXMLProducer
org.apache.cocoon.xml.dom.DOMStreamer.DefaultDOMStreamer
- All Implemented Interfaces:
- Poolable, Recyclable, LogEnabled, XMLProducer
- Enclosing class:
- DOMStreamer
public static class DOMStreamer.DefaultDOMStreamer
- extends AbstractXMLProducer
The DefaultDOMStreamer
is a utility class that will generate SAX
events from a W3C DOM Document.
- Author:
- Carsten Ziegeler, Pierpaolo Fumagalli
(Apache Software Foundation)
Method Summary |
void |
stream(Node node)
Start the production of SAX events. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transformer
protected Transformer transformer
- The private transformer for this instance
DOMStreamer.DefaultDOMStreamer
public DOMStreamer.DefaultDOMStreamer()
stream
public void stream(Node node)
throws SAXException
- Start the production of SAX events.
- Throws:
SAXException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.