org.apache.cocoon.xml.dom
Class DOMStreamer.DefaultDOMStreamer

java.lang.Object
  extended byorg.apache.cocoon.util.AbstractLogEnabled
      extended byorg.apache.cocoon.xml.AbstractXMLProducer
          extended byorg.apache.cocoon.xml.dom.DOMStreamer.DefaultDOMStreamer
All Implemented Interfaces:
Poolable, Recyclable, org.apache.cocoon.xml.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.


Field Summary
protected  Transformer transformer
          The private transformer for this instance
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
 
Constructor Summary
DOMStreamer.DefaultDOMStreamer()
           
 
Method Summary
 void stream(Node node)
          Start the production of SAX events.
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
recycle, setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transformer

protected Transformer transformer
The private transformer for this instance

Constructor Detail

DOMStreamer.DefaultDOMStreamer

public DOMStreamer.DefaultDOMStreamer()
Method Detail

stream

public void stream(Node node)
            throws SAXException
Start the production of SAX events.

Throws:
SAXException


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.