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

Syntax

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

See Also

Org.Xml.Sax.IDocumentHandler

Parameters

f
The file containing the XML to parse
hb
The SAX HandlerBase 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.HandlerBase. Use of the DefaultHandler version of this method is recommended as the HandlerBase class has been deprecated in SAX 2.0

[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