Org.Xml.Sax.IParser.Parse Method
Parse an XML document.

Syntax

[Android.Runtime.Register("parse", "(Lorg/xml/sax/InputSource;)V", "GetParse_Lorg_xml_sax_InputSource_Handler:Org.Xml.Sax.IParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Parse (InputSource source)

See Also

InputSource
IParser.Parse(string)
IParser.SetEntityResolver(IEntityResolver)
IParser.SetDTDHandler(IDTDHandler)
IParser.SetDocumentHandler(IDocumentHandler)
IParser.SetErrorHandler(IErrorHandler)

Parameters

source
The input source for the top-level of the XML document.

Exceptions

TypeReason
Org.Xml.Sax.SAXExceptionAny SAX exception, possibly wrapping another exception.
Java.IO.IOExceptionAn IO exception from the parser, possibly from a byte stream or character stream supplied by the application.

Remarks

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.

[Android Documentation]

Requirements

Namespace: Org.Xml.Sax
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1