Class SAXEventGenerator


  • public class SAXEventGenerator
    extends java.lang.Object
    produces SAX2 event from a DOM tree.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void parse​(org.w3c.dom.Document dom, org.xml.sax.ContentHandler handler)
      scans the specified DOM and sends SAX2 events to the handler.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SAXEventGenerator

        public SAXEventGenerator()
    • Method Detail

      • parse

        public static void parse​(org.w3c.dom.Document dom,
                                 org.xml.sax.ContentHandler handler)
                          throws org.xml.sax.SAXException
        scans the specified DOM and sends SAX2 events to the handler.
        Throws:
        org.xml.sax.SAXException