SAXParser: parsepublic void parse(java.lang.String uri, DefaultHandler dh) throws SAXException, java.io.IOException Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified DefaultHandler.Parameters:uri - The location of the content to be parsed. dh - The SAX DefaultHandler to use.Throws:java.io.IOException - If any IO errors occur. java.lang.IllegalArgumentException - If the uri is null. SAXException - If the underlying parser throws a SAXException while parsing.See Also: DocumentHandler
parsepublic void parse(java.lang.String uri,
DefaultHandler dh)
throws SAXException,
java.io.IOException
Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified DefaultHandler.Parameters:uri - The location of the content to be parsed.
dh - The SAX DefaultHandler to use.Throws:java.io.IOException - If any IO errors occur.
java.lang.IllegalArgumentException - If the uri is null.
SAXException - If the underlying parser throws a SAXException while parsing.See Also: DocumentHandler