TransformerFactory.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.
Look up the value of a 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
The current state of the feature, true or false.
- Attributes
Exceptions
If the name parameter is null.
Remarks
Look up the value of a feature.
Feature names are fully qualified java.net.URIs. Implementations may define their own features. false is returned if this TransformerFactory or the Transformers or Templates it creates cannot support the feature. It is possible for an TransformerFactory to expose a feature value but be unable to change its state.
Java documentation for javax.xml.transform.TransformerFactory.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.