SAXParser.Parse SAXParser.Parse Method

Definition

Overloads

Parse(Stream, HandlerBase, String) Parse(Stream, HandlerBase, String)
Parse(String, DefaultHandler) Parse(String, DefaultHandler)

Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified DefaultHandler.

Parse(String, HandlerBase) Parse(String, HandlerBase)

Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified HandlerBase.

Parse(Stream, DefaultHandler) Parse(Stream, DefaultHandler)

Parse the content of the given InputStream instance as XML using the specified DefaultHandler.

Parse(Stream, DefaultHandler, String) Parse(Stream, DefaultHandler, String)

Parse the content of the given InputStream instance as XML using the specified DefaultHandler.

Parse(InputSource, DefaultHandler) Parse(InputSource, DefaultHandler)

Parse the content given InputSource as XML using the specified DefaultHandler.

Parse(InputSource, HandlerBase) Parse(InputSource, HandlerBase)

Parse the content given InputSource as XML using the specified HandlerBase.

Parse(File, DefaultHandler) Parse(File, DefaultHandler)

Parse the content of the file specified as XML using the specified DefaultHandler.

Parse(File, HandlerBase) Parse(File, HandlerBase)

Parse the content of the file specified as XML using the specified HandlerBase.

Parse(Stream, HandlerBase) Parse(Stream, HandlerBase)

Parse(Stream, HandlerBase, String) Parse(Stream, HandlerBase, String)

[Android.Runtime.Register("parse", "(Ljava/io/InputStream;Lorg/xml/sax/HandlerBase;Ljava/lang/String;)V", "GetParse_Ljava_io_InputStream_Lorg_xml_sax_HandlerBase_Ljava_lang_String_Handler")]
public virtual void Parse (System.IO.Stream is, Org.Xml.Sax.HandlerBase hb, string systemId);
abstract member Parse : System.IO.Stream * Org.Xml.Sax.HandlerBase * string -> unit
override this.Parse : System.IO.Stream * Org.Xml.Sax.HandlerBase * string -> unit

Parameters

is
Stream Stream

InputStream containing the content to be parsed.

hb
HandlerBase HandlerBase

The SAX HandlerBase to use.

systemId
String String

The systemId which is needed for resolving relative URIs.

Exceptions

If the given InputStream is null.

If any IO error occurs interacting with the InputStream.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(String, DefaultHandler) Parse(String, DefaultHandler)

Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified DefaultHandler.

[Android.Runtime.Register("parse", "(Ljava/lang/String;Lorg/xml/sax/helpers/DefaultHandler;)V", "GetParse_Ljava_lang_String_Lorg_xml_sax_helpers_DefaultHandler_Handler")]
public virtual void Parse (string uri, Org.Xml.Sax.Helpers.DefaultHandler dh);
abstract member Parse : string * Org.Xml.Sax.Helpers.DefaultHandler -> unit
override this.Parse : string * Org.Xml.Sax.Helpers.DefaultHandler -> unit

Parameters

uri
String String

The location of the content to be parsed.

dh
DefaultHandler DefaultHandler

The SAX DefaultHandler to use.

Exceptions

If any IO errors occur.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(String, HandlerBase) Parse(String, HandlerBase)

Parse the content described by the giving Uniform Resource Identifier (URI) as XML using the specified HandlerBase.

[Android.Runtime.Register("parse", "(Ljava/lang/String;Lorg/xml/sax/HandlerBase;)V", "GetParse_Ljava_lang_String_Lorg_xml_sax_HandlerBase_Handler")]
public virtual void Parse (string uri, Org.Xml.Sax.HandlerBase hb);
abstract member Parse : string * Org.Xml.Sax.HandlerBase -> unit
override this.Parse : string * Org.Xml.Sax.HandlerBase -> unit

Parameters

uri
String String

The location of the content to be parsed.

hb
HandlerBase HandlerBase

The SAX HandlerBase to use.

Exceptions

If any IO errors occur.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(Stream, DefaultHandler) Parse(Stream, DefaultHandler)

Parse the content of the given InputStream instance as XML using the specified DefaultHandler.

[Android.Runtime.Register("parse", "(Ljava/io/InputStream;Lorg/xml/sax/helpers/DefaultHandler;)V", "GetParse_Ljava_io_InputStream_Lorg_xml_sax_helpers_DefaultHandler_Handler")]
public virtual void Parse (System.IO.Stream is, Org.Xml.Sax.Helpers.DefaultHandler dh);
abstract member Parse : System.IO.Stream * Org.Xml.Sax.Helpers.DefaultHandler -> unit
override this.Parse : System.IO.Stream * Org.Xml.Sax.Helpers.DefaultHandler -> unit

Parameters

is
Stream Stream

InputStream containing the content to be parsed.

dh
DefaultHandler DefaultHandler

The SAX DefaultHandler to use.

Exceptions

If the given InputStream is null.

If any IO errors occur.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(Stream, DefaultHandler, String) Parse(Stream, DefaultHandler, String)

Parse the content of the given InputStream instance as XML using the specified DefaultHandler.

[Android.Runtime.Register("parse", "(Ljava/io/InputStream;Lorg/xml/sax/helpers/DefaultHandler;Ljava/lang/String;)V", "GetParse_Ljava_io_InputStream_Lorg_xml_sax_helpers_DefaultHandler_Ljava_lang_String_Handler")]
public virtual void Parse (System.IO.Stream is, Org.Xml.Sax.Helpers.DefaultHandler dh, string systemId);
abstract member Parse : System.IO.Stream * Org.Xml.Sax.Helpers.DefaultHandler * string -> unit
override this.Parse : System.IO.Stream * Org.Xml.Sax.Helpers.DefaultHandler * string -> unit

Parameters

is
Stream Stream

InputStream containing the content to be parsed.

dh
DefaultHandler DefaultHandler

The SAX DefaultHandler to use.

systemId
String String

The systemId which is needed for resolving relative URIs.

Exceptions

If the given InputStream is null.

If any IO errors occur.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(InputSource, DefaultHandler) Parse(InputSource, DefaultHandler)

Parse the content given InputSource as XML using the specified DefaultHandler.

[Android.Runtime.Register("parse", "(Lorg/xml/sax/InputSource;Lorg/xml/sax/helpers/DefaultHandler;)V", "GetParse_Lorg_xml_sax_InputSource_Lorg_xml_sax_helpers_DefaultHandler_Handler")]
public virtual void Parse (Org.Xml.Sax.InputSource is, Org.Xml.Sax.Helpers.DefaultHandler dh);
abstract member Parse : Org.Xml.Sax.InputSource * Org.Xml.Sax.Helpers.DefaultHandler -> unit
override this.Parse : Org.Xml.Sax.InputSource * Org.Xml.Sax.Helpers.DefaultHandler -> unit

Parameters

is
InputSource InputSource

The InputSource containing the content to be parsed.

dh
DefaultHandler DefaultHandler

The SAX DefaultHandler to use.

Exceptions

If the InputSource object is null.

If any IO errors occur.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(InputSource, HandlerBase) Parse(InputSource, HandlerBase)

Parse the content given InputSource as XML using the specified HandlerBase.

[Android.Runtime.Register("parse", "(Lorg/xml/sax/InputSource;Lorg/xml/sax/HandlerBase;)V", "GetParse_Lorg_xml_sax_InputSource_Lorg_xml_sax_HandlerBase_Handler")]
public virtual void Parse (Org.Xml.Sax.InputSource is, Org.Xml.Sax.HandlerBase hb);
abstract member Parse : Org.Xml.Sax.InputSource * Org.Xml.Sax.HandlerBase -> unit
override this.Parse : Org.Xml.Sax.InputSource * Org.Xml.Sax.HandlerBase -> unit

Parameters

is
InputSource InputSource

The InputSource containing the content to be parsed.

hb
HandlerBase HandlerBase

The SAX HandlerBase to use.

Exceptions

If the InputSource object is null.

If any IO errors occur.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(File, DefaultHandler) Parse(File, DefaultHandler)

Parse the content of the file specified as XML using the specified DefaultHandler.

[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 f, Org.Xml.Sax.Helpers.DefaultHandler dh);
abstract member Parse : Java.IO.File * Org.Xml.Sax.Helpers.DefaultHandler -> unit
override this.Parse : Java.IO.File * Org.Xml.Sax.Helpers.DefaultHandler -> unit

Parameters

f
File File

The file containing the XML to parse

dh
DefaultHandler DefaultHandler

The SAX DefaultHandler to use.

Exceptions

If any IO errors occur.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(File, HandlerBase) Parse(File, HandlerBase)

Parse the content of the file specified as XML using the specified HandlerBase.

[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 f, Org.Xml.Sax.HandlerBase hb);
abstract member Parse : Java.IO.File * Org.Xml.Sax.HandlerBase -> unit
override this.Parse : Java.IO.File * Org.Xml.Sax.HandlerBase -> unit

Parameters

f
File File

The file containing the XML to parse

hb
HandlerBase HandlerBase

The SAX HandlerBase to use.

Exceptions

If any IO errors occur.

If any SAX errors occur during processing.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Parse(Stream, HandlerBase) Parse(Stream, HandlerBase)

[Android.Runtime.Register("parse", "(Ljava/io/InputStream;Lorg/xml/sax/HandlerBase;)V", "GetParse_Ljava_io_InputStream_Lorg_xml_sax_HandlerBase_Handler")]
public virtual void Parse (System.IO.Stream is, Org.Xml.Sax.HandlerBase hb);
abstract member Parse : System.IO.Stream * Org.Xml.Sax.HandlerBase -> unit
override this.Parse : System.IO.Stream * Org.Xml.Sax.HandlerBase -> unit

Parameters

is
Stream Stream

InputStream containing the content to be parsed.

hb
HandlerBase HandlerBase

The SAX HandlerBase to use.

Exceptions

If the given InputStream is null.

If parse produces a SAX error.

If an IO error occurs interacting with the InputStream.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

See also

Applies to