Package org.exolab.adaptx.xml
Class DOM2SAX
java.lang.Object
org.exolab.adaptx.xml.DOM2SAX
A class for converting a DOM document to SAX events
- Version:
- $Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (Sat, 01 Mar 2003) $
- Author:
- Keith Visco
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
process
(Document document, DocumentHandler handler) Walks the given DOM Document and converts it into it's corresponding SAX eventsstatic void
process
(Node node, DocumentHandler handler) Breaks down the given node into it's corresponding SAX events
-
Constructor Details
-
DOM2SAX
public DOM2SAX()
-
-
Method Details
-
process
Walks the given DOM Document and converts it into it's corresponding SAX events- Parameters:
document
- , the Node to process into SAX eventshandler
- the DocumentHandler to send events to- Throws:
SAXException
-
process
Breaks down the given node into it's corresponding SAX events- Parameters:
node
- , the Node to process into SAX eventshandler
- the DocumentHandler to send events to- Throws:
SAXException
-