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

Constructor Detail

SAXEventGenerator

public SAXEventGenerator()
Method Detail

parse

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