Javax.Xml.Parsers.SAXParser.Parse Method
Parse the content of the file specified as XML using the specified Org.Xml.Sax.Helpers.DefaultHandler.

Syntax

[Android.Runtime.Register("parse", "(Ljava/io/File;Lorg/xml/sax/helpers/DefaultHandler;)V", "GetParse_Ljava_io_File_Lorg_xml_sax_helpers_DefaultHandler_Handler")]
public virtual void Parse (Java.IO.File file, Org.Xml.Sax.Helpers.DefaultHandler handler)

See Also

Org.Xml.Sax.IDocumentHandler

Parameters

f
The file containing the XML to parse
dh
The SAX DefaultHandler to use.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionIf the File object is null.
Java.IO.IOExceptionIf any IO errors occur.
Org.Xml.Sax.SAXExceptionIf any SAX errors occur during processing.

Remarks

Parse the content of the file specified as XML using the specified Org.Xml.Sax.Helpers.DefaultHandler.

[Android Documentation]

Requirements

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