Language

SAXParserFactory.GetFeature(String) Method

Definition

Returns the value of a feature flag in the underlying org.xml.sax.XMLReader implementation.

[Android.Runtime.Register("getFeature", "(Ljava/lang/String;)Z", "GetGetFeature_Ljava_lang_String_Handler")]
public abstract bool GetFeature(string? name);
[<Android.Runtime.Register("getFeature", "(Ljava/lang/String;)Z", "GetGetFeature_Ljava_lang_String_Handler")>]
abstract member GetFeature : string -> bool

Parameters

name
String

The non-null, fully qualified URI that names the feature to retrieve.

Returns

The current value of the feature.

Attributes

Exceptions

if a parser cannot be created which satisfies the requested configuration.

When the underlying XMLReader does not recognize the feature name.

When the underlying XMLReader recognizes the feature name but does not support the feature.

If the name parameter is null.

Remarks

Returns the value of a feature flag in the underlying implementation of org.xml.sax.XMLReader.

Java documentation for javax.xml.parsers.SAXParserFactory.getFeature(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