public static XMLReader createXMLReader (String className) throws SAXException

Attempt to create an XML reader from a class name.

Given a class name, this method attempts to load and instantiate the class as an XML reader.

Note that this method will not be usable in environments where the caller (perhaps an applet) is not permitted to load classes dynamically.

Returns:  A new XML reader.

Exceptions:
org.xml.sax.SAXException    If the class cannot be loaded, instantiated, and cast to XMLReader.

See also:
createXMLReader()