com.sun.msv.util.xml

Class SAXEventGenerator

public class SAXEventGenerator extends Object

produces SAX2 event from a DOM tree.

Author: Kohsuke KAWAGUCHI

Method Summary
static voidparse(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)
scans the specified DOM and sends SAX2 events to the handler.