Convenience class for using or accessing a SAX version 1 or 2 parser.
 Instances of this class are not guaranteed to be thread safe.
getParser
public Parser getParser()
            throws SAXException Returns the underlying SAX1 parser.
getSchema
public Schema getSchema()
 Returns the schema in use by this parser.
- 1.3
isNamespaceAware
public boolean isNamespaceAware()
 Indicates whether this parser is XML Namespace aware.
isValidating
public boolean isValidating()
 Indicates whether this parser will validate its input.
isXIncludeAware
public boolean isXIncludeAware()
 Indicates whether this parser is XInclude-aware.
- 1.3
parse
public void parse(File f,
                  HandlerBase hb)
            throws SAXException,
                   IOException Parse the content of the specified file, reporting SAX1 events to the
 given handler.
 Prefer the SAX2 version of this method, since the HandlerBase class is
 now deprecated.
- f- an XML file
- hb- the SAX1 handler
- parse(java.io.File,org.xml.sax.helpers.DefaultHandler)
parse
public void parse(File f,
                  DefaultHandler dh)
            throws SAXException,
                   IOException Parse the content of the specified file, reporting SAX2 events to the
 given handler.
- f- an XML file
- dh- the SAX2 handler
parse
public void parse(InputStream is,
                  HandlerBase hb)
            throws SAXException,
                   IOException Parse the specifed input stream, reporting SAX1 events to the given
 handler.
 Prefer the SAX2 version of this method, since the HandlerBase class is
 now deprecated.
 Also prefer the version of this method that specifies a system ID, in
 order to resolve external references correctly.
- is- an XML input stream
- hb- the SAX1 handler
- parse(java.io.InputStream,org.xml.sax.helpers.DefaultHandler)
parse
public void parse(InputStream is,
                  HandlerBase hb,
                  String systemId)
            throws SAXException,
                   IOException Parse the specified input stream, reporting SAX1 events to the given
 handler.
 Prefer the SAX2 version of this method, since the HandlerBase class is
 now deprecated.
- is- an XML input stream
- hb- the SAX1 handler
- systemId- the system ID of the XML document
- parse(java.io.InputStream,org.xml.sax.helpers.DefaultHandler,java.lang.String)
parse
public void parse(InputStream is,
                  DefaultHandler dh)
            throws SAXException,
                   IOException Parse the specified input stream, reporting SAX2 events to the given
 handler.
 Prefer the version of this method that specifies a system ID, in
 order to resolve external references correctly.
- is- an XML input stream
- dh- the SAX2 handler
parse
public void parse(InputStream is,
                  DefaultHandler dh,
                  String systemId)
            throws SAXException,
                   IOException Parse the specified input stream, reporting SAX2 events to the given
 handler.
- is- an XML input stream
- dh- the SAX2 handler
- systemId- the system ID of the XML document
parse
public void parse(String uri,
                  HandlerBase hb)
            throws SAXException,
                   IOException Parse the content of the specified URI, reporting SAX1 events to the
 given handler.
 Prefer the SAX2 version of this method, since the HandlerBase class is
 now deprecated.
- uri- an XML system ID
- hb- the SAX1 handler
- parse(java.lang.String,org.xml.sax.helpers.DefaultHandler)
parse
public void parse(String uri,
                  DefaultHandler dh)
            throws SAXException,
                   IOException Parse the content of the specified URI, reporting SAX2 events to the
 given handler.
- uri- an XML system ID
- dh- the SAX2 handler
parse
public void parse(InputSource is,
                  DefaultHandler dh)
            throws SAXException,
                   IOException Parse the specified input source, reporting SAX2 events to the
 given handler.
- dh- the SAX2 handler
reset
public void reset()
 Resets this parser to its original configuration.
- 1.3