net.ontopia.xml
Class SaxXMLReaderFactory

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

public class SaxXMLReaderFactory
extends java.lang.Object
implements XMLReaderFactoryIF

INTERNAL: A factory for creating SAX2 XMLReaders using the SAX2 XMLReaderFactory.createXMLReader(klass) method.

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


Constructor Summary
SaxXMLReaderFactory()
           
SaxXMLReaderFactory(java.lang.String driver)
           
 
Method Summary
 org.xml.sax.XMLReader createXMLReader()
          INTERNAL: Creates a SAX2 XMLReader object.
 java.lang.String getDriver()
          INTERNAL: Returns the driver klass name if specified either explicitly on this instance or through the 'org.xml.sax.driver' system property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaxXMLReaderFactory

public SaxXMLReaderFactory()

SaxXMLReaderFactory

public SaxXMLReaderFactory(java.lang.String driver)
Method Detail

getDriver

public java.lang.String getDriver()
INTERNAL: Returns the driver klass name if specified either explicitly on this instance or through the 'org.xml.sax.driver' system property.


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.