net.ontopia.xml
Class DefaultXMLReaderFactory
java.lang.Object
net.ontopia.xml.DefaultXMLReaderFactory
- All Implemented Interfaces:
- XMLReaderFactoryIF
public class DefaultXMLReaderFactory
- extends 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultXMLReaderFactory
public DefaultXMLReaderFactory()
createXMLReader
public XMLReader createXMLReader()
throws SAXException
- Description copied from interface:
XMLReaderFactoryIF
- INTERNAL: Creates a SAX2 XMLReader object.
- Specified by:
createXMLReader
in interface XMLReaderFactoryIF
- Throws:
SAXException
- Thrown if there are any problems with
creating the XMLReader.
Copyright © 2000-2012 Ontopia.