- source
- The input source for the top-level of the XML document.
Type Reason Org.Xml.Sax.SAXException Any SAX exception, possibly wrapping another exception. Java.IO.IOException An IO exception from the parser, possibly from a byte stream or character stream supplied by the application.
Parse an XML document.
The application can use this method to instruct the SAX parser to begin parsing an XML document from any valid input source (a character stream, a byte stream, or a URI).
Applications may not invoke this method while a parse is in progress (they should create a new Parser instead for each additional XML document). Once a parse is complete, an application may reuse the same Parser object, possibly with a different input source.