net.ontopia.xml
Class DefaultXMLReaderFactory

java.lang.Object
  extended by net.ontopia.xml.DefaultXMLReaderFactory
All Implemented Interfaces:
XMLReaderFactoryIF

public class DefaultXMLReaderFactory
extends java.lang.Object
implements XMLReaderFactoryIF

INTERNAL: An XML reader factory that uses a JaxpXMLReaderFactory unless the 'org.xml.sax.driver' system property is set, in that case SaxXMLReaderFactory is used.

If the 'org.xml.sax.driver' system property cannot be used for some reason, the 'net.ontopia.xml.sax.driver' system property can, if specified, be used instead to override the default SAX property.

The created parser is namespace-aware and non-validating by default.


Constructor Summary
DefaultXMLReaderFactory()
           
 
Method Summary
 org.xml.sax.XMLReader createXMLReader()
          INTERNAL: Creates a SAX2 XMLReader object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultXMLReaderFactory

public DefaultXMLReaderFactory()
Method Detail

createXMLReader

public org.xml.sax.XMLReader createXMLReader()
                                      throws org.xml.sax.SAXException
Description copied from interface: XMLReaderFactoryIF
INTERNAL: Creates a SAX2 XMLReader object.

Specified by:
createXMLReader in interface XMLReaderFactoryIF
Throws:
org.xml.sax.SAXException - Thrown if there are any problems with creating the XMLReader.


Copyright © 2000-2012 Ontopia.