-
Notifications
You must be signed in to change notification settings - Fork 2
/
IUserDataHandler.xml
301 lines (301 loc) · 18.5 KB
/
IUserDataHandler.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<Type Name="IUserDataHandler" FullName="Org.W3c.Dom.IUserDataHandler">
<TypeSignature Language="C#" Value="public interface IUserDataHandler : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IUserDataHandler implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Org.W3c.Dom.IUserDataHandler" />
<TypeSignature Language="F#" Value="type IUserDataHandler = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("org/w3c/dom/UserDataHandler", "", "Org.W3c.Dom.IUserDataHandlerInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("org/w3c/dom/UserDataHandler", "", "Org.W3c.Dom.IUserDataHandlerInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="8">
<summary>When associating an object to a key on a node using
<c>Node.setUserData()</c> the application can provide a handler
that gets called when the node the object is associated to is being
cloned, imported, or renamed.</summary>
<remarks>
<para>When associating an object to a key on a node using
<c>Node.setUserData()</c> the application can provide a handler
that gets called when the node the object is associated to is being
cloned, imported, or renamed. This can be used by the application to
implement various behaviors regarding the data it associates to the DOM
nodes. This interface defines that handler.</para>
<para>See also the <see href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407">Document Object Model (DOM) Level 3 Core Specification</see>.</para>
<para>Added in DOM Level 3.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/UserDataHandler" title="Reference documentation">Java documentation for <code>org.w3c.dom.UserDataHandler</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
</Docs>
<Members>
<Member MemberName="handleData">
<MemberSignature Language="C#" Value="public void handleData (short operation, string? key, Java.Lang.Object? data, Org.W3c.Dom.INode? src, Org.W3c.Dom.INode? dst);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void handleData(int16 operation, string key, class Java.Lang.Object data, class Org.W3c.Dom.INode src, class Org.W3c.Dom.INode dst) cil managed" />
<MemberSignature Language="DocId" Value="M:Org.W3c.Dom.IUserDataHandler.handleData(System.Int16,System.String,Java.Lang.Object,Org.W3c.Dom.INode,Org.W3c.Dom.INode)" />
<MemberSignature Language="F#" Value="abstract member handleData : int16 * string * Java.Lang.Object * Org.W3c.Dom.INode * Org.W3c.Dom.INode -> unit" Usage="iUserDataHandler.handleData (operation, key, data, src, dst)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[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")]</AttributeName>
<AttributeName Language="F#">[<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")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="operation" Type="System.Int16" />
<Parameter Name="key" Type="System.String" />
<Parameter Name="data" Type="Java.Lang.Object" />
<Parameter Name="src" Type="Org.W3c.Dom.INode" />
<Parameter Name="dst" Type="Org.W3c.Dom.INode" />
</Parameters>
<Docs>
<param name="operation">Specifies the type of operation that is being
performed on the node.</param>
<param name="key">Specifies the key for which this handler is being called.</param>
<param name="data">Specifies the data for which this handler is being called.</param>
<param name="src">Specifies the node being cloned, adopted, imported, or
renamed. This is <c>null</c> when the node is being deleted.</param>
<param name="dst">Specifies the node newly created if any, or
<c>null</c>.</param>
<summary>This method is called whenever the node for which this handler is
registered is imported or cloned.</summary>
<remarks>
<para>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
<c>UserDataHandler</c>. The effect of throwing exceptions from
the handler is DOM implementation dependent.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/UserDataHandler#handle(short,%20java.lang.String,%20java.lang.Object,%20org.w3c.dom.Node,%20org.w3c.dom.Node)" title="Reference documentation">Java documentation for <code>org.w3c.dom.UserDataHandler.handle(short, java.lang.String, java.lang.Object, org.w3c.dom.Node, org.w3c.dom.Node)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 8" />
</Docs>
</Member>
<Member MemberName="NodeAdopted">
<MemberSignature Language="C#" Value="public const short NodeAdopted = 5;" />
<MemberSignature Language="ILAsm" Value=".field public static literal int16 NodeAdopted = (5)" />
<MemberSignature Language="DocId" Value="F:Org.W3c.Dom.IUserDataHandler.NodeAdopted" />
<MemberSignature Language="F#" Value="val mutable NodeAdopted : int16" Usage="Org.W3c.Dom.IUserDataHandler.NodeAdopted" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("NODE_ADOPTED")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("NODE_ADOPTED")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int16</ReturnType>
</ReturnValue>
<MemberValue>5</MemberValue>
<Docs>
<summary>The node is adopted, using <c>Document.adoptNode()</c>.</summary>
<remarks>
<para>The node is adopted, using <c>Document.adoptNode()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/UserDataHandler#NODE_ADOPTED" title="Reference documentation">Java documentation for <code>org.w3c.dom.UserDataHandler.NODE_ADOPTED</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeCloned">
<MemberSignature Language="C#" Value="public const short NodeCloned = 1;" />
<MemberSignature Language="ILAsm" Value=".field public static literal int16 NodeCloned = (1)" />
<MemberSignature Language="DocId" Value="F:Org.W3c.Dom.IUserDataHandler.NodeCloned" />
<MemberSignature Language="F#" Value="val mutable NodeCloned : int16" Usage="Org.W3c.Dom.IUserDataHandler.NodeCloned" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("NODE_CLONED")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("NODE_CLONED")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int16</ReturnType>
</ReturnValue>
<MemberValue>1</MemberValue>
<Docs>
<summary>The node is cloned, using <c>Node.cloneNode()</c>.</summary>
<remarks>
<para>The node is cloned, using <c>Node.cloneNode()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/UserDataHandler#NODE_CLONED" title="Reference documentation">Java documentation for <code>org.w3c.dom.UserDataHandler.NODE_CLONED</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeDeleted">
<MemberSignature Language="C#" Value="public const short NodeDeleted = 3;" />
<MemberSignature Language="ILAsm" Value=".field public static literal int16 NodeDeleted = (3)" />
<MemberSignature Language="DocId" Value="F:Org.W3c.Dom.IUserDataHandler.NodeDeleted" />
<MemberSignature Language="F#" Value="val mutable NodeDeleted : int16" Usage="Org.W3c.Dom.IUserDataHandler.NodeDeleted" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("NODE_DELETED")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("NODE_DELETED")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int16</ReturnType>
</ReturnValue>
<MemberValue>3</MemberValue>
<Docs>
<summary>The node is deleted.</summary>
<remarks>
<para>The node is deleted.
<p ><b>Note:</b> This may not be supported or may not be reliable in
certain environments, such as Java, where the implementation has no
real control over when objects are actually deleted.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/UserDataHandler#NODE_DELETED" title="Reference documentation">Java documentation for <code>org.w3c.dom.UserDataHandler.NODE_DELETED</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeImported">
<MemberSignature Language="C#" Value="public const short NodeImported = 2;" />
<MemberSignature Language="ILAsm" Value=".field public static literal int16 NodeImported = (2)" />
<MemberSignature Language="DocId" Value="F:Org.W3c.Dom.IUserDataHandler.NodeImported" />
<MemberSignature Language="F#" Value="val mutable NodeImported : int16" Usage="Org.W3c.Dom.IUserDataHandler.NodeImported" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("NODE_IMPORTED")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("NODE_IMPORTED")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int16</ReturnType>
</ReturnValue>
<MemberValue>2</MemberValue>
<Docs>
<summary>The node is imported, using <c>Document.importNode()</c>.</summary>
<remarks>
<para>The node is imported, using <c>Document.importNode()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/UserDataHandler#NODE_IMPORTED" title="Reference documentation">Java documentation for <code>org.w3c.dom.UserDataHandler.NODE_IMPORTED</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="NodeRenamed">
<MemberSignature Language="C#" Value="public const short NodeRenamed = 4;" />
<MemberSignature Language="ILAsm" Value=".field public static literal int16 NodeRenamed = (4)" />
<MemberSignature Language="DocId" Value="F:Org.W3c.Dom.IUserDataHandler.NodeRenamed" />
<MemberSignature Language="F#" Value="val mutable NodeRenamed : int16" Usage="Org.W3c.Dom.IUserDataHandler.NodeRenamed" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("NODE_RENAMED")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("NODE_RENAMED")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int16</ReturnType>
</ReturnValue>
<MemberValue>4</MemberValue>
<Docs>
<summary>The node is renamed, using <c>Document.renameNode()</c>.</summary>
<remarks>
<para>The node is renamed, using <c>Document.renameNode()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/org/w3c/dom/UserDataHandler#NODE_RENAMED" title="Reference documentation">Java documentation for <code>org.w3c.dom.UserDataHandler.NODE_RENAMED</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
</Members>
</Type>