次の方法で共有


IDOMImplementation.GetFeature(String, String) Method

Definition

This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in .

[Android.Runtime.Register("getFeature", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;", "GetGetFeature_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IDOMImplementationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object? GetFeature (string? feature, string? version);
[<Android.Runtime.Register("getFeature", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;", "GetGetFeature_Ljava_lang_String_Ljava_lang_String_Handler:Org.W3c.Dom.IDOMImplementationInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetFeature : string * string -> Java.Lang.Object

Parameters

feature
String

The name of the feature requested. Note that any plus sign "+" prepended to the name of the feature will be ignored since it is not significant in the context of this method.

version
String

This is the version number of the feature to test.

Returns

Returns an object which implements the specialized APIs of the specified feature and version, if any, or null if there is no object which implements interfaces associated with that feature. If the DOMObject returned by this method implements the DOMImplementation interface, it must delegate to the primary core DOMImplementation and not return results inconsistent with the primary core DOMImplementation such as hasFeature, getFeature, etc.

Attributes

Remarks

This method returns a specialized object which implements the specialized APIs of the specified feature and version, as specified in . The specialized object may also be obtained by using binding-specific casting methods but is not necessarily expected to, as discussed in . This method also allow the implementation to provide specialized objects which do not support the DOMImplementation interface.

Added in DOM Level 3.

Java documentation for org.w3c.dom.DOMImplementation.getFeature(java.lang.String, 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