Freigeben über


DefaultHandler.StartPrefixMapping(String, String) Method

Definition

Receive notification of the start of a Namespace mapping.

[Android.Runtime.Register("startPrefixMapping", "(Ljava/lang/String;Ljava/lang/String;)V", "GetStartPrefixMapping_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual void StartPrefixMapping (string? prefix, string? uri);
[<Android.Runtime.Register("startPrefixMapping", "(Ljava/lang/String;Ljava/lang/String;)V", "GetStartPrefixMapping_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member StartPrefixMapping : string * string -> unit
override this.StartPrefixMapping : string * string -> unit

Parameters

prefix
String

The Namespace prefix being declared.

uri
String

The Namespace URI mapped to the prefix.

Implements

Attributes

Exceptions

Any SAX exception, possibly wrapping another exception.

Remarks

Receive notification of the start of a Namespace mapping.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each Namespace prefix scope (such as storing the prefix mapping).

Java documentation for org.xml.sax.helpers.DefaultHandler.startPrefixMapping(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

See also

  • <xref:Org.Xml.Sax.IContentHandler.StartPrefixMapping(System.String%2c+System.String)>