Org.Xmlpull.V1.Sax2.Driver.SetFeature Method
Set the value of a feature flag.

Syntax

[Android.Runtime.Register("setFeature", "(Ljava/lang/String;Z)V", "GetSetFeature_Ljava_lang_String_ZHandler")]
public virtual void SetFeature (string name, bool value)

Parameters

name
The feature name, which is a fully-qualified URI.
value
The requested value of the feature (true or false).

Exceptions

TypeReason
Org.Xml.Sax.SAXNotRecognizedException
Org.Xml.Sax.SAXNotSupportedException

Remarks

Set the value of a feature flag.

The feature name is any fully-qualified URI. It is possible for an XMLReader to expose a feature value but to be unable to change the current value. Some feature values may be immutable or mutable only in specific contexts, such as before, during, or after a parse.

All XMLReaders are required to support setting http://xml.org/sax/features/namespaces to true and http://xml.org/sax/features/namespace-prefixes to false.

[Android Documentation]

Requirements

Namespace: Org.Xmlpull.V1.Sax2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1