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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXEventGenerator
public SAXEventGenerator()
parse
public static void parse(Document dom,
ContentHandler handler)
throws SAXException
- scans the specified DOM and sends SAX2 events to the handler.
- Throws:
SAXException
MSV