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
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:33 $
- Author:
- Keith Visco
Method Summary |
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOM2SAX
public DOM2SAX()
process
public static void process(org.w3c.dom.Document document,
org.xml.sax.DocumentHandler handler)
throws org.xml.sax.SAXException
- Walks the given DOM Document and converts it into it's corresponding
SAX events
- Parameters:
handler
- the DocumentHandler to send events to
org.xml.sax.SAXException
process
public static void process(org.w3c.dom.Node node,
org.xml.sax.DocumentHandler handler)
throws org.xml.sax.SAXException
- Breaks down the given node into it's corresponding SAX events
- Parameters:
handler
- the DocumentHandler to send events to
org.xml.sax.SAXException