Compartilhar via


IContentHandler.EndElement(String, String, String) Method

Definition

Receive notification of the end of an element.

[Android.Runtime.Register("endElement", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetEndElement_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Org.Xml.Sax.IContentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void EndElement (string? uri, string? localName, string? qName);
[<Android.Runtime.Register("endElement", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetEndElement_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler:Org.Xml.Sax.IContentHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member EndElement : string * string * string -> unit

Parameters

uri
String

the Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed

localName
String

the local name (without prefix), or the empty string if Namespace processing is not being performed

qName
String

the qualified XML name (with prefix), or the empty string if qualified names are not available

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 startElement event for every endElement event (even when the element is empty).

For information on the names, see startElement.

Java documentation for org.xml.sax.ContentHandler.endElement(java.lang.String, java.lang.String, 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