ValidatorHandler.GetFeature(String) Method

Definition

Look up the value of a feature flag.

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

Parameters

name
String

The feature name, which is a non-null fully-qualified URI.

Returns

Boolean

The current value of the feature (true or false).

Attributes

Exceptions

If the feature value can't be assigned or retrieved.

When the ValidatorHandler recognizes the feature name but cannot determine its value at this time.

When the name parameter is null.

Remarks

Java documentation for javax.xml.validation.ValidatorHandler.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

  • <xref:Javax.Xml.Validation.ValidatorHandler.SetFeature(System.String%2c+System.Boolean)>