org.exolab.adaptx.xml
Class DOM2SAX
java.lang.Object
org.exolab.adaptx.xml.DOM2SAX
public class DOM2SAX
extends java.lang.Object
A class for converting a DOM document to SAX events
$Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $static void | process(Document document, DocumentHandler handler) - Walks the given DOM Document and converts it into it's corresponding
SAX events
|
static void | process(Node node, DocumentHandler handler) - Breaks down the given node into it's corresponding SAX events
|
process
public static void process(Document document,
DocumentHandler handler)
throws org.xml.sax.SAXException
Walks the given DOM Document and converts it into it's corresponding
SAX events
handler
- the DocumentHandler to send events to
process
public static void process(Node node,
DocumentHandler handler)
throws org.xml.sax.SAXException
Breaks down the given node into it's corresponding SAX events
handler
- the DocumentHandler to send events to