DocumentBuilderFactory.GetFeature(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 DocumentBuilder
s it creates cannot support this feature.
Remarks
Get the state of the named feature.
Feature names are fully qualified java.net.URI
s. Implementations may define their own features. An ParserConfigurationException
is thrown if this DocumentBuilderFactory
or the DocumentBuilder
s 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.