DocumentBuilderFactory.SetFeature(String, Boolean) Method

Definition

Set a feature for this <code>DocumentBuilderFactory</code> and <code>DocumentBuilder</code>s created by this factory.

[Android.Runtime.Register("setFeature", "(Ljava/lang/String;Z)V", "GetSetFeature_Ljava_lang_String_ZHandler")]
public abstract void SetFeature (string? name, bool value);
[<Android.Runtime.Register("setFeature", "(Ljava/lang/String;Z)V", "GetSetFeature_Ljava_lang_String_ZHandler")>]
abstract member SetFeature : string * bool -> unit

Parameters

name
String

Feature name.

value
Boolean

Is feature state <code>true</code> or <code>false</code>.

Attributes

Exceptions

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

If the name parameter is null.

Remarks

Java documentation for javax.xml.parsers.DocumentBuilderFactory.setFeature(java.lang.String, 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