Package com.sun.msv.util.xml
Class SAXEventGenerator
- java.lang.Object
-
- com.sun.msv.util.xml.SAXEventGenerator
-
public class SAXEventGenerator extends Object
produces SAX2 event from a DOM tree.- Author:
- Kohsuke KAWAGUCHI
-
-
Constructor Summary
Constructors Constructor Description SAXEventGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
parse(Document dom, ContentHandler handler)
scans the specified DOM and sends SAX2 events to the handler.
-
-
-
Method Detail
-
parse
public static void parse(Document dom, ContentHandler handler) throws SAXException
scans the specified DOM and sends SAX2 events to the handler.- Throws:
SAXException
-
-