다음을 통해 공유


XmlPullParserFactory.NamespaceAware Property

Definition

Indicates whether or not the factory is configured to produce parsers which are namespace aware (it simply set feature XmlPullParser. -or- Specifies that the parser produced by this factory will provide support for XML namespaces.

public virtual bool NamespaceAware { [Android.Runtime.Register("isNamespaceAware", "()Z", "GetIsNamespaceAwareHandler")] get; [Android.Runtime.Register("setNamespaceAware", "(Z)V", "GetSetNamespaceAware_ZHandler")] set; }
[<get: Android.Runtime.Register("isNamespaceAware", "()Z", "GetIsNamespaceAwareHandler")>]
[<set: Android.Runtime.Register("setNamespaceAware", "(Z)V", "GetSetNamespaceAware_ZHandler")>]
member this.NamespaceAware : bool with get, set

Property Value

true if the factory is configured to produce parsers which are namespace aware; false otherwise.

Attributes

Remarks

Property getter documentation:

Indicates whether or not the factory is configured to produce parsers which are namespace aware (it simply set feature XmlPullParser.FEATURE_PROCESS_NAMESPACES to true or false).

Java documentation for org.xmlpull.v1.XmlPullParserFactory.isNamespaceAware().

Property setter documentation:

Specifies that the parser produced by this factory will provide support for XML namespaces. By default the value of this is set to false.

Java documentation for org.xmlpull.v1.XmlPullParserFactory.setNamespaceAware(boolean).

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