Class SAXUtil


  • public final class SAXUtil
    extends java.lang.Object
    Util class for SAX related methods.
    Since:
    1.8
    Author:
    Johannes Faltermeier
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void executeContentHandler​(java.io.Reader modelReader, org.xml.sax.ContentHandler contentHandler)
      Creates an XMLReader based on the given model-reader and sets the given content handler.
      • Methods inherited from class java.lang.Object

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

      • executeContentHandler

        public static void executeContentHandler​(java.io.Reader modelReader,
                                                 org.xml.sax.ContentHandler contentHandler)
        Creates an XMLReader based on the given model-reader and sets the given content handler.
        Parameters:
        modelReader - the input
        contentHandler - the ContentHandler