java.lang.Object | +--org.xml.sax.helpers.ParserFactory
static Parser | Create a new SAX parser using the `org.xml.sax.parser' system property. |
static Parser | makeParser(java.lang.String className) Create a new SAX parser object using the class name provided. |
public static Parser makeParser()
java.lang.NullPointerException
- There is no value
for the `org.xml.sax.parser' system property.java.lang.ClassNotFoundException
- The SAX parser
class was not found (check your CLASSPATH).java.lang.IllegalAccessException
- The SAX parser class was
found, but you do not have permission to load
it.java.lang.InstantiationException
- The SAX parser class was
found but could not be instantiated.java.lang.ClassCastException
- The SAX parser class
was found and instantiated, but does not implement
org.xml.sax.Parser.makeParser(java.lang.String)
org.xml.sax.Parser
public static Parser makeParser(java.lang.String className)
java.lang.ClassNotFoundException
- The SAX parser
class was not found (check your CLASSPATH).java.lang.IllegalAccessException
- The SAX parser class was
found, but you do not have permission to load
it.java.lang.InstantiationException
- The SAX parser class was
found but could not be instantiated.java.lang.ClassCastException
- The SAX parser class
was found and instantiated, but does not implement
org.xml.sax.Parser.makeParser()
org.xml.sax.Parser