Android Guides | Samples

Android.Util.Xml Class

XML utility methods.

See Also: Xml

Syntax

[Android.Runtime.Register("android/util/Xml", DoNotGenerateAcw=true)]
public class Xml : Object

Remarks

XML utility methods.

[Android Documentation]

Requirements

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

The members of Android.Util.Xml are listed below.

See Also: Object

Public Constructors

Xml()

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

static
FeatureRelaxedString. XmlPullParser "relaxed" feature name.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
AsAttributeSet(XmlReader) : IAttributeSet
Return an AttributeSet interface for use with the given XmlPullParser.
static
FindEncodingByName(String) : Xml+Encoding
Finds an encoding by name.
static
NewPullParser() : XmlReader
Returns a new pull parser with namespace support.
static
NewSerializer() : IXmlSerializer
Creates a new xml serializer.
static
Parse(Reader, IContentHandler)
Parses xml from the given reader and fires events on the given SAX handler.
static
Parse(String, IContentHandler)
Parses the given xml string and fires events on the given SAX handler.
static
Parse(Stream, Xml+Encoding, IContentHandler)
Parses xml from the given input stream and fires events on the given SAX handler.
static
ParseAsync(Reader, IContentHandler) : Task
static
ParseAsync(String, IContentHandler) : Task
static
ParseAsync(Stream, Xml+Encoding, IContentHandler) : Task