Package net.ontopia.xml
Class DefaultXMLReaderFactory
- java.lang.Object
-
- net.ontopia.xml.DefaultXMLReaderFactory
-
public class DefaultXMLReaderFactory extends Object
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
Constructors Constructor Description DefaultXMLReaderFactory()
-
-
-
Method Detail
-
createXMLReader
public static XMLReader createXMLReader() throws SAXException
- Throws:
SAXException
-
-