DocumentBuilderFactory.GetFeature(String) Method

Definition

Get the state of the named feature.

[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

Feature name.

Returns

State of the named feature.

Attributes

Exceptions

if this DocumentBuilderFactory or the DocumentBuilders it creates cannot support this feature.

Remarks

Get the state of the named feature.

Feature names are fully qualified java.net.URIs. Implementations may define their own features. An ParserConfigurationException is thrown if this DocumentBuilderFactory or the DocumentBuilders it creates cannot support the feature. It is possible for an DocumentBuilderFactory to expose a feature value but be unable to change its state.

Java documentation for javax.xml.parsers.DocumentBuilderFactory.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