Share via


Xml.Parse Method

Definition

Overloads

Parse(Reader, IContentHandler)

Parses xml from the given reader and fires events on the given SAX handler.

Parse(String, IContentHandler)

Parses the given xml string and fires events on the given SAX handler.

Parse(Stream, Xml+Encoding, IContentHandler)

Parses xml from the given input stream and fires events on the given SAX handler.

Parse(Reader, IContentHandler)

Parses xml from the given reader and fires events on the given SAX handler.

[Android.Runtime.Register("parse", "(Ljava/io/Reader;Lorg/xml/sax/ContentHandler;)V", "")]
public static void Parse (Java.IO.Reader? in, Org.Xml.Sax.IContentHandler? contentHandler);
[<Android.Runtime.Register("parse", "(Ljava/io/Reader;Lorg/xml/sax/ContentHandler;)V", "")>]
static member Parse : Java.IO.Reader * Org.Xml.Sax.IContentHandler -> unit

Parameters

in
Reader
contentHandler
IContentHandler
Attributes

Exceptions

Remarks

Parses xml from the given reader and fires events on the given SAX handler.

Java documentation for android.util.Xml.parse(java.io.Reader, org.xml.sax.ContentHandler).

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.

Applies to

Parse(String, IContentHandler)

Parses the given xml string and fires events on the given SAX handler.

[Android.Runtime.Register("parse", "(Ljava/lang/String;Lorg/xml/sax/ContentHandler;)V", "")]
public static void Parse (string? xml, Org.Xml.Sax.IContentHandler? contentHandler);
[<Android.Runtime.Register("parse", "(Ljava/lang/String;Lorg/xml/sax/ContentHandler;)V", "")>]
static member Parse : string * Org.Xml.Sax.IContentHandler -> unit

Parameters

xml
String
contentHandler
IContentHandler
Attributes

Exceptions

Remarks

Parses the given xml string and fires events on the given SAX handler.

Java documentation for android.util.Xml.parse(java.lang.String, org.xml.sax.ContentHandler).

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.

Applies to

Parse(Stream, Xml+Encoding, IContentHandler)

Parses xml from the given input stream and fires events on the given SAX handler.

[Android.Runtime.Register("parse", "(Ljava/io/InputStream;Landroid/util/Xml$Encoding;Lorg/xml/sax/ContentHandler;)V", "")]
public static void Parse (System.IO.Stream? in, Android.Util.Xml.Encoding? encoding, Org.Xml.Sax.IContentHandler? contentHandler);
[<Android.Runtime.Register("parse", "(Ljava/io/InputStream;Landroid/util/Xml$Encoding;Lorg/xml/sax/ContentHandler;)V", "")>]
static member Parse : System.IO.Stream * Android.Util.Xml.Encoding * Org.Xml.Sax.IContentHandler -> unit

Parameters

in
Stream
encoding
Xml.Encoding
contentHandler
IContentHandler
Attributes

Exceptions

Remarks

Java documentation for android.util.Xml.parse(java.io.InputStream, android.util.Encoding, org.xml.sax.ContentHandler).

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.

Applies to