NamespaceSupport.GetURI(String) Method

Definition

Look up a prefix and get the currently-mapped Namespace URI.

[Android.Runtime.Register("getURI", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetURI_Ljava_lang_String_Handler")]
public virtual string? GetURI (string? prefix);
[<Android.Runtime.Register("getURI", "(Ljava/lang/String;)Ljava/lang/String;", "GetGetURI_Ljava_lang_String_Handler")>]
abstract member GetURI : string -> string
override this.GetURI : string -> string

Parameters

prefix
String

The prefix to look up.

Returns

The associated Namespace URI, or null if the prefix is undeclared in this context.

Attributes

Remarks

Look up a prefix and get the currently-mapped Namespace URI.

This method looks up the prefix in the current context. Use the empty string ("") for the default Namespace.

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