Class SAXHelper


  • public final class SAXHelper
    extends java.lang.Object
    Provides handy methods for working with SAX parsers and readers
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.xml.sax.XMLReader newXMLReader​(XmlOptionsBean options)
      Creates a new SAX XMLReader, with sensible defaults
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • IGNORING_ENTITY_RESOLVER

        public static final org.xml.sax.EntityResolver IGNORING_ENTITY_RESOLVER
    • Method Detail

      • newXMLReader

        public static org.xml.sax.XMLReader newXMLReader​(XmlOptionsBean options)
                                                  throws org.xml.sax.SAXException,
                                                         javax.xml.parsers.ParserConfigurationException
        Creates a new SAX XMLReader, with sensible defaults
        Throws:
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException