Class XMLReaderFactory

java.lang.Object
org.eclipse.rdf4j.common.xml.XMLReaderFactory

public class XMLReaderFactory extends Object
Factory class for creating an XMLReader. This factory tries to use the system property 'org.xml.sax.driver', if that fails it falls back on javax.xml.sax.parsers.SAXParserFactory. If the SAXParserFactory class can not be found (this can happen when using a Java 1.3 or older), or the initialization using SAXParserFactory fails otherwise, the factory falls back on the Xerces 2 SAX Parser.