다음을 통해 공유


IUserDataHandler.handleData(Int16, String, Object, INode, INode) Method

Definition

This method is called whenever the node for which this handler is registered is imported or cloned.

[Android.Runtime.Register("handle", "(SLjava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V", "GethandleData_SLjava_lang_String_Ljava_lang_Object_Lorg_w3c_dom_Node_Lorg_w3c_dom_Node_Handler:Org.W3c.Dom.IUserDataHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void handleData (short operation, string? key, Java.Lang.Object? data, Org.W3c.Dom.INode? src, Org.W3c.Dom.INode? dst);
[<Android.Runtime.Register("handle", "(SLjava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/Node;Lorg/w3c/dom/Node;)V", "GethandleData_SLjava_lang_String_Ljava_lang_Object_Lorg_w3c_dom_Node_Lorg_w3c_dom_Node_Handler:Org.W3c.Dom.IUserDataHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member handleData : int16 * string * Java.Lang.Object * Org.W3c.Dom.INode * Org.W3c.Dom.INode -> unit

Parameters

operation
Int16

Specifies the type of operation that is being performed on the node.

key
String

Specifies the key for which this handler is being called.

data
Object

Specifies the data for which this handler is being called.

src
INode

Specifies the node being cloned, adopted, imported, or renamed. This is null when the node is being deleted.

dst
INode

Specifies the node newly created if any, or null.

Attributes

Remarks

This method is called whenever the node for which this handler is registered is imported or cloned. <br> DOM applications must not raise exceptions in a UserDataHandler. The effect of throwing exceptions from the handler is DOM implementation dependent.

Java documentation for org.w3c.dom.UserDataHandler.handle(short, java.lang.String, java.lang.Object, org.w3c.dom.Node, org.w3c.dom.Node).

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