Android Guides | Samples

Android.Sax.Element Class

An XML element.

See Also: Element

Syntax

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

Remarks

An XML element. Provides access to child elements and hooks to listen for events related to this element.

See Also

[Android Documentation]

Requirements

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

The members of Android.Sax.Element are listed below.

See Also: Object

Protected Constructors

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

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

GetChild(String) : Element
Gets the child element with the given name.
GetChild(String, String) : Element
Gets the child element with the given name.
RequireChild(String) : Element
Gets the child element with the given name.
RequireChild(String, String) : Element
Gets the child element with the given name.
SetElementListener(IElementListener)
Sets start and end element listeners at the same time.
SetEndElementListener(IEndElementListener)
Sets a listener for the end of this element.
SetEndTextElementListener(IEndTextElementListener)
Sets a listener for the end of this text element.
SetStartElementListener(IStartElementListener)
Sets a listener for the start of this element.
SetTextElementListener(ITextElementListener)
Sets start and end text element listeners at the same time.

Public Events