public class DOM2SAX
extends java.lang.Object
| Constructor and Description |
|---|
DOM2SAX() |
| Modifier and Type | Method and Description |
|---|---|
static void |
process(org.w3c.dom.Document document,
org.xml.sax.DocumentHandler handler)
Walks the given DOM Document and converts it into it's corresponding
SAX events
|
static void |
process(org.w3c.dom.Node node,
org.xml.sax.DocumentHandler handler)
Breaks down the given node into it's corresponding SAX events
|
public static void process(org.w3c.dom.Document document,
org.xml.sax.DocumentHandler handler)
throws org.xml.sax.SAXException
document, - the Node to process into SAX eventshandler - the DocumentHandler to send events toorg.xml.sax.SAXExceptionpublic static void process(org.w3c.dom.Node node,
org.xml.sax.DocumentHandler handler)
throws org.xml.sax.SAXException
node, - the Node to process into SAX eventshandler - the DocumentHandler to send events toorg.xml.sax.SAXException