共用方式為


NamespaceSupport.Prefixes Property

Definition

Return an enumeration of all prefixes whose declarations are active in the current context.

public virtual Java.Util.IEnumeration? Prefixes { [Android.Runtime.Register("getPrefixes", "()Ljava/util/Enumeration;", "GetGetPrefixesHandler")] get; }
[<get: Android.Runtime.Register("getPrefixes", "()Ljava/util/Enumeration;", "GetGetPrefixesHandler")>]
member this.Prefixes : Java.Util.IEnumeration

Property Value

An enumeration of prefixes (never empty).

Attributes

Remarks

Return an enumeration of all prefixes whose declarations are active in the current context. This includes declarations from parent contexts that have not been overridden.

<strong>Note:</strong> if there is a default prefix, it will not be returned in this enumeration; check for the default prefix using the #getURI getURI with an argument of "".

Java documentation for org.xml.sax.helpers.NamespaceSupport.getPrefixes().

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