org.apache.xmlbeans.impl.common
Class SAXHelper

java.lang.Object
  extended by org.apache.xmlbeans.impl.common.SAXHelper

public final class SAXHelper
extends java.lang.Object

Provides handy methods for working with SAX parsers and readers


Field Summary
static EntityResolver IGNORING_ENTITY_RESOLVER
           
 
Method Summary
static XMLReader newXMLReader(XmlOptionsBean options)
          Creates a new SAX XMLReader, with sensible defaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IGNORING_ENTITY_RESOLVER

public static final EntityResolver IGNORING_ENTITY_RESOLVER
Method Detail

newXMLReader

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

Throws:
SAXException
javax.xml.parsers.ParserConfigurationException