Name
ParserFactory
Synopsis
This deprecated SAX1 class is a factory for
deprecated SAX1 Parser
objects. New applications
should use the SAX2 XMLReaderFactory
as a factory
for SAX2 XMLReader
objects.
public class ParserFactory { // No Constructor // Public Class Methods public static org.xml.sax.Parser makeParser( ) throws ClassNotFoundException, IllegalAccessException, InstantiationException, NullPointerException, ClassCastException; public static org.xml.sax.Parser makeParser(String className) throws ClassNotFoundException, IllegalAccessException, InstantiationException, ClassCastException; }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.