Udostępnij za pośrednictwem


XmlPullParserFactory.Validating Property

Definition

Indicates whether or not the factory is configured to produce parsers which validate the XML content during parse. -or- Specifies that the parser produced by this factory will be validating (it simply set feature XmlPullParser.

public virtual bool Validating { [Android.Runtime.Register("isValidating", "()Z", "GetIsValidatingHandler")] get; [Android.Runtime.Register("setValidating", "(Z)V", "GetSetValidating_ZHandler")] set; }
[<get: Android.Runtime.Register("isValidating", "()Z", "GetIsValidatingHandler")>]
[<set: Android.Runtime.Register("setValidating", "(Z)V", "GetSetValidating_ZHandler")>]
member this.Validating : bool with get, set

Property Value

true if the factory is configured to produce parsers which validate the XML content during parse; false otherwise.

Attributes

Remarks

Property getter documentation:

Indicates whether or not the factory is configured to produce parsers which validate the XML content during parse.

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

Property setter documentation:

Specifies that the parser produced by this factory will be validating (it simply set feature XmlPullParser.FEATURE_VALIDATION to true or false).

By default the value of this is set to false.

Java documentation for org.xmlpull.v1.XmlPullParserFactory.setValidating(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