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 void
parse(Document dom, ContentHandler handler)
scans the specified DOM and sends SAX2 events to the handler.

Method Details

parse

public static void parse(Document dom,
                         ContentHandler handler)
            throws SAXException
scans the specified DOM and sends SAX2 events to the handler.