IDocumentHandler.EndElement(String) Method

Definition

Caution

deprecated

Receive notification of the end of an element.

[Android.Runtime.Register("endElement", "(Ljava/lang/String;)V", "GetEndElement_Ljava_lang_String_Handler:Org.Xml.Sax.IDocumentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void EndElement (string? name);
[<Android.Runtime.Register("endElement", "(Ljava/lang/String;)V", "GetEndElement_Ljava_lang_String_Handler:Org.Xml.Sax.IDocumentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member EndElement : string -> unit

Parameters

name
String

The element type name

Attributes

Exceptions

Any SAX exception, possibly wrapping another exception.

Remarks

Receive notification of the end of an element.

The SAX parser will invoke this method at the end of every element in the XML document; there will be a corresponding startElement() event for every endElement() event (even when the element is empty).

If the element name has a namespace prefix, the prefix will still be attached to the name.

Java documentation for org.xml.sax.DocumentHandler.endElement(java.lang.String).

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