-
Notifications
You must be signed in to change notification settings - Fork 0
/
IXPath.xml
536 lines (536 loc) · 39.2 KB
/
IXPath.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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
<Type Name="IXPath" FullName="Javax.Xml.Xpath.IXPath">
<TypeSignature Language="C#" Value="public interface IXPath : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IXPath implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Javax.Xml.Xpath.IXPath" />
<TypeSignature Language="F#" Value="type IXPath = 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("javax/xml/xpath/XPath", "", "Javax.Xml.Xpath.IXPathInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("javax/xml/xpath/XPath", "", "Javax.Xml.Xpath.IXPathInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="8">
<summary>
<c>XPath</c> provides access to the XPath evaluation environment and expressions.</summary>
<remarks>
<para>
<c>XPath</c> provides access to the XPath evaluation environment and expressions.</para>
<para><table id="XPath-evaluation" border="1" cellpadding="2">
<thead>
<tr>
<th colspan="2">Evaluation of XPath Expressions.</th>
</tr>
</thead>
<tbody>
<tr>
<td>context</td>
<td>
If a request is made to evaluate the expression in the absence
of a context item, an empty document node will be used for the context.
For the purposes of evaluating XPath expressions, a DocumentFragment
is treated like a Document node.
</td>
</tr>
<tr>
<td>variables</td>
<td>
If the expression contains a variable reference, its value will be found through the <c>XPathVariableResolver</c>
set with <c>#setXPathVariableResolver(XPathVariableResolver resolver)</c>.
An <c>XPathExpressionException</c> is raised if the variable resolver is undefined or
the resolver returns <c>null</c> for the variable.
The value of a variable must be immutable through the course of any single evaluation.</p>
</td>
</tr>
<tr>
<td>functions</td>
<td>
If the expression contains a function reference, the function will be found through the <c>XPathFunctionResolver</c>
set with <c>#setXPathFunctionResolver(XPathFunctionResolver resolver)</c>.
An <c>XPathExpressionException</c> is raised if the function resolver is undefined or
the function resolver returns <c>null</c> for the function.</p>
</td>
</tr>
<tr>
<td>QNames</td>
<td>
QNames in the expression are resolved against the XPath namespace context
set with <c>#setNamespaceContext(NamespaceContext nsContext)</c>.
</td>
</tr>
<tr>
<td>result</td>
<td>
This result of evaluating an expression is converted to an instance of the desired return type.
Valid return types are defined in <c>XPathConstants</c>.
Conversion to the return type follows XPath conversion rules.</p>
</td>
</tr>
</table></para>
<para>Added in 1.5.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/xml/xpath/XPath" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPath</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="Compile">
<MemberSignature Language="C#" Value="public Javax.Xml.Xpath.IXPathExpression? Compile (string? expression);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Javax.Xml.Xpath.IXPathExpression Compile(string expression) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Xml.Xpath.IXPath.Compile(System.String)" />
<MemberSignature Language="F#" Value="abstract member Compile : string -> Javax.Xml.Xpath.IXPathExpression" Usage="iXPath.Compile expression" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("compile", "(Ljava/lang/String;)Ljavax/xml/xpath/XPathExpression;", "GetCompile_Ljava_lang_String_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("compile", "(Ljava/lang/String;)Ljavax/xml/xpath/XPathExpression;", "GetCompile_Ljava_lang_String_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Xml.Xpath.IXPathExpression</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="expression" Type="System.String" />
</Parameters>
<Docs>
<param name="expression">The XPath expression.</param>
<summary>Compile an XPath expression for later evaluation.</summary>
<returns>Compiled XPath expression.</returns>
<remarks>
<para>Compile an XPath expression for later evaluation.</para>
<para>If <c>expression</c> contains any <c>XPathFunction</c>s,
they must be available via the <c>XPathFunctionResolver</c>.
An <c>XPathExpressionException</c> will be thrown if the <c>XPathFunction</c>
cannot be resolved with the <c>XPathFunctionResolver</c>.</para>
<para>If <c>expression</c> is <c>null</c>, a <c>NullPointerException</c> is thrown.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/xml/xpath/XPath#compile(java.lang.String)" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPath.compile(java.lang.String)</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" />
<exception cref="T:Javax.Xml.Xpath.XPathExpressionException">If <c>expression</c> cannot be compiled.</exception>
<exception cref="T:Java.Lang.NullPointerException">If <c>expression</c> is <c>null</c>.
</exception>
</Docs>
</Member>
<Member MemberName="Evaluate">
<MemberSignature Language="C#" Value="public string? Evaluate (string? expression, Java.Lang.Object? item);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string Evaluate(string expression, class Java.Lang.Object item) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Xml.Xpath.IXPath.Evaluate(System.String,Java.Lang.Object)" />
<MemberSignature Language="F#" Value="abstract member Evaluate : string * Java.Lang.Object -> string" Usage="iXPath.Evaluate (expression, item)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("evaluate", "(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;", "GetEvaluate_Ljava_lang_String_Ljava_lang_Object_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("evaluate", "(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;", "GetEvaluate_Ljava_lang_String_Ljava_lang_Object_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="expression" Type="System.String" />
<Parameter Name="item" Type="Java.Lang.Object" />
</Parameters>
<Docs>
<param name="expression">The XPath expression.</param>
<param name="item">The starting context (node or node list, for example).</param>
<summary>Evaluate an XPath expression in the specified context and return the result as a <c>String</c>.</summary>
<returns>The <c>String</c> that is the result of evaluating the expression and
converting the result to a <c>String</c>.</returns>
<remarks>
<para>Evaluate an XPath expression in the specified context and return the result as a <c>String</c>.</para>
<para>This method calls <c>#evaluate(String expression, Object item, QName returnType)</c> with a <c>returnType</c> of
<c>XPathConstants#STRING</c>.</para>
<para>See Evaluation of XPath Expressions for context item evaluation,
variable, function and QName resolution and return type conversion.</para>
<para>If a <c>null</c> value is provided for
<c>item</c>, an empty document will be used for the
context.
If <c>expression</c> is <c>null</c>, then a <c>NullPointerException</c> is thrown.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/xml/xpath/XPath#evaluate(java.lang.String,%20java.lang.Object)" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPath.evaluate(java.lang.String, java.lang.Object)</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" />
<exception cref="T:Javax.Xml.Xpath.XPathExpressionException">If <c>expression</c> cannot be evaluated.</exception>
<exception cref="T:Java.Lang.NullPointerException">If <c>expression</c> is <c>null</c>.
</exception>
</Docs>
</Member>
<Member MemberName="Evaluate">
<MemberSignature Language="C#" Value="public string? Evaluate (string? expression, Org.Xml.Sax.InputSource? source);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string Evaluate(string expression, class Org.Xml.Sax.InputSource source) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Xml.Xpath.IXPath.Evaluate(System.String,Org.Xml.Sax.InputSource)" />
<MemberSignature Language="F#" Value="abstract member Evaluate : string * Org.Xml.Sax.InputSource -> string" Usage="iXPath.Evaluate (expression, source)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("evaluate", "(Ljava/lang/String;Lorg/xml/sax/InputSource;)Ljava/lang/String;", "GetEvaluate_Ljava_lang_String_Lorg_xml_sax_InputSource_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("evaluate", "(Ljava/lang/String;Lorg/xml/sax/InputSource;)Ljava/lang/String;", "GetEvaluate_Ljava_lang_String_Lorg_xml_sax_InputSource_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="expression" Type="System.String" />
<Parameter Name="source" Type="Org.Xml.Sax.InputSource" />
</Parameters>
<Docs>
<param name="expression">The XPath expression.</param>
<param name="source">The <c>InputSource</c> of the document to evaluate over.</param>
<summary>Evaluate an XPath expression in the context of the specified <c>InputSource</c>
and return the result as a <c>String</c>.</summary>
<returns>The <c>String</c> that is the result of evaluating the expression and
converting the result to a <c>String</c>.</returns>
<remarks>
<para>Evaluate an XPath expression in the context of the specified <c>InputSource</c>
and return the result as a <c>String</c>.</para>
<para>This method calls <c>#evaluate(String expression, InputSource source, QName returnType)</c> with a
<c>returnType</c> of <c>XPathConstants#STRING</c>.</para>
<para>See Evaluation of XPath Expressions for context item evaluation,
variable, function and QName resolution and return type conversion.</para>
<para>If <c>expression</c> or <c>source</c> is <c>null</c>,
then a <c>NullPointerException</c> is thrown.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/xml/xpath/XPath#evaluate(java.lang.String,%20org.xml.sax.InputSource)" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPath.evaluate(java.lang.String, org.xml.sax.InputSource)</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" />
<exception cref="T:Javax.Xml.Xpath.XPathExpressionException">If expression cannot be evaluated.</exception>
<exception cref="T:Java.Lang.NullPointerException">If <c>expression</c> or <c>source</c> is <c>null</c>.
</exception>
</Docs>
</Member>
<Member MemberName="Evaluate">
<MemberSignature Language="C#" Value="public Java.Lang.Object? Evaluate (string? expression, Java.Lang.Object? item, Javax.Xml.Namespace.QName? returnType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object Evaluate(string expression, class Java.Lang.Object item, class Javax.Xml.Namespace.QName returnType) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Xml.Xpath.IXPath.Evaluate(System.String,Java.Lang.Object,Javax.Xml.Namespace.QName)" />
<MemberSignature Language="F#" Value="abstract member Evaluate : string * Java.Lang.Object * Javax.Xml.Namespace.QName -> Java.Lang.Object" Usage="iXPath.Evaluate (expression, item, returnType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("evaluate", "(Ljava/lang/String;Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object;", "GetEvaluate_Ljava_lang_String_Ljava_lang_Object_Ljavax_xml_namespace_QName_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("evaluate", "(Ljava/lang/String;Ljava/lang/Object;Ljavax/xml/namespace/QName;)Ljava/lang/Object;", "GetEvaluate_Ljava_lang_String_Ljava_lang_Object_Ljavax_xml_namespace_QName_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="expression" Type="System.String" />
<Parameter Name="item" Type="Java.Lang.Object" />
<Parameter Name="returnType" Type="Javax.Xml.Namespace.QName" />
</Parameters>
<Docs>
<param name="expression">The XPath expression.</param>
<param name="item">The starting context (node or node list, for example).</param>
<param name="returnType">The desired return type.</param>
<summary>Evaluate an <c>XPath</c> expression in the specified context and return the result as the specified type.</summary>
<returns>Result of evaluating an XPath expression as an <c>Object</c> of <c>returnType</c>.</returns>
<remarks>
<para>Evaluate an <c>XPath</c> expression in the specified context and return the result as the specified type.</para>
<para>See Evaluation of XPath Expressions for context item evaluation,
variable, function and <c>QName</c> resolution and return type conversion.</para>
<para>If <c>returnType</c> is not one of the types defined in <c>XPathConstants</c> (
<c>XPathConstants#NUMBER NUMBER</c>,
<c>XPathConstants#STRING STRING</c>,
<c>XPathConstants#BOOLEAN BOOLEAN</c>,
<c>XPathConstants#NODE NODE</c> or
<c>XPathConstants#NODESET NODESET</c>)
then an <c>IllegalArgumentException</c> is thrown.</para>
<para>If a <c>null</c> value is provided for
<c>item</c>, an empty document will be used for the
context.
If <c>expression</c> or <c>returnType</c> is <c>null</c>, then a
<c>NullPointerException</c> is thrown.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/xml/xpath/XPath#evaluate(java.lang.String,%20java.lang.Object,%20javax.xml.namespace.QName)" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPath.evaluate(java.lang.String, java.lang.Object, javax.xml.namespace.QName)</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" />
<exception cref="T:Javax.Xml.Xpath.XPathExpressionException">If <c>expression</c> cannot be evaluated.</exception>
<exception cref="T:Java.Lang.IllegalArgumentException">If <c>returnType</c> is not one of the types defined in <see cref="T:Javax.Xml.Xpath.XPathConstants" />.</exception>
<exception cref="T:Java.Lang.NullPointerException">If <c>expression</c> or <c>returnType</c> is <c>null</c>.
</exception>
</Docs>
</Member>
<Member MemberName="Evaluate">
<MemberSignature Language="C#" Value="public Java.Lang.Object? Evaluate (string? expression, Org.Xml.Sax.InputSource? source, Javax.Xml.Namespace.QName? returnType);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object Evaluate(string expression, class Org.Xml.Sax.InputSource source, class Javax.Xml.Namespace.QName returnType) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Xml.Xpath.IXPath.Evaluate(System.String,Org.Xml.Sax.InputSource,Javax.Xml.Namespace.QName)" />
<MemberSignature Language="F#" Value="abstract member Evaluate : string * Org.Xml.Sax.InputSource * Javax.Xml.Namespace.QName -> Java.Lang.Object" Usage="iXPath.Evaluate (expression, source, returnType)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("evaluate", "(Ljava/lang/String;Lorg/xml/sax/InputSource;Ljavax/xml/namespace/QName;)Ljava/lang/Object;", "GetEvaluate_Ljava_lang_String_Lorg_xml_sax_InputSource_Ljavax_xml_namespace_QName_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("evaluate", "(Ljava/lang/String;Lorg/xml/sax/InputSource;Ljavax/xml/namespace/QName;)Ljava/lang/Object;", "GetEvaluate_Ljava_lang_String_Lorg_xml_sax_InputSource_Ljavax_xml_namespace_QName_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="expression" Type="System.String" />
<Parameter Name="source" Type="Org.Xml.Sax.InputSource" />
<Parameter Name="returnType" Type="Javax.Xml.Namespace.QName" />
</Parameters>
<Docs>
<param name="expression">The XPath expression.</param>
<param name="source">The input source of the document to evaluate over.</param>
<param name="returnType">The desired return type.</param>
<summary>Evaluate an XPath expression in the context of the specified <c>InputSource</c>
and return the result as the specified type.</summary>
<returns>The <c>Object</c> that encapsulates the result of evaluating the expression.</returns>
<remarks>
<para>Evaluate an XPath expression in the context of the specified <c>InputSource</c>
and return the result as the specified type.</para>
<para>This method builds a data model for the <c>InputSource</c> and calls
<c>#evaluate(String expression, Object item, QName returnType)</c> on the resulting document object.</para>
<para>See Evaluation of XPath Expressions for context item evaluation,
variable, function and QName resolution and return type conversion.</para>
<para>If <c>returnType</c> is not one of the types defined in <c>XPathConstants</c>,
then an <c>IllegalArgumentException</c> is thrown.</para>
<para>If <c>expression</c>, <c>source</c> or <c>returnType</c> is <c>null</c>,
then a <c>NullPointerException</c> is thrown.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/xml/xpath/XPath#evaluate(java.lang.String,%20org.xml.sax.InputSource,%20javax.xml.namespace.QName)" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPath.evaluate(java.lang.String, org.xml.sax.InputSource, javax.xml.namespace.QName)</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" />
<exception cref="T:Javax.Xml.Xpath.XPathExpressionException">If expression cannot be evaluated.</exception>
<exception cref="T:Java.Lang.IllegalArgumentException">If <c>returnType</c> is not one of the types defined in <see cref="T:Javax.Xml.Xpath.XPathConstants" />.</exception>
<exception cref="T:Java.Lang.NullPointerException">If <c>expression</c>, <c>source</c> or <c>returnType</c>
is <c>null</c>.
</exception>
</Docs>
</Member>
<Member MemberName="NamespaceContext">
<MemberSignature Language="C#" Value="public Javax.Xml.Namespace.INamespaceContext? NamespaceContext { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Javax.Xml.Namespace.INamespaceContext NamespaceContext" />
<MemberSignature Language="DocId" Value="P:Javax.Xml.Xpath.IXPath.NamespaceContext" />
<MemberSignature Language="F#" Value="member this.NamespaceContext : Javax.Xml.Namespace.INamespaceContext with get, set" Usage="Javax.Xml.Xpath.IXPath.NamespaceContext" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getNamespaceContext", "()Ljavax/xml/namespace/NamespaceContext;", "GetGetNamespaceContextHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getNamespaceContext", "()Ljavax/xml/namespace/NamespaceContext;", "GetGetNamespaceContextHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setNamespaceContext", "(Ljavax/xml/namespace/NamespaceContext;)V", "GetSetNamespaceContext_Ljavax_xml_namespace_NamespaceContext_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setNamespaceContext", "(Ljavax/xml/namespace/NamespaceContext;)V", "GetSetNamespaceContext_Ljavax_xml_namespace_NamespaceContext_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Xml.Namespace.INamespaceContext</ReturnType>
</ReturnValue>
<Docs>
<summary tool="true"></summary>
<value>To be added.</value>
<remarks>
<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" />
<exception cref="T:Java.Lang.NullPointerException">If <c>nsContext</c> is <c>null</c>.
</exception>
</Docs>
</Member>
<Member MemberName="Reset">
<MemberSignature Language="C#" Value="public void Reset ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Reset() cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Xml.Xpath.IXPath.Reset" />
<MemberSignature Language="F#" Value="abstract member Reset : unit -> unit" Usage="iXPath.Reset " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("reset", "()V", "GetResetHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("reset", "()V", "GetResetHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Reset this <c>XPath</c> to its original configuration.</summary>
<remarks>
<para>Reset this <c>XPath</c> to its original configuration.</para>
<para>
<c>XPath</c> is reset to the same state as when it was created with
<c>XPathFactory#newXPath()</c>.
<c>reset()</c> is designed to allow the reuse of existing <c>XPath</c>s
thus saving resources associated with the creation of new <c>XPath</c>s.</para>
<para>The reset <c>XPath</c> is not guaranteed to have the same <c>XPathFunctionResolver</c>, <c>XPathVariableResolver</c>
or <c>NamespaceContext</c><c>Object</c>s, e.g. <c>Object#equals(Object obj)</c>.
It is guaranteed to have a functionally equal <c>XPathFunctionResolver</c>, <c>XPathVariableResolver</c>
and <c>NamespaceContext</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/xml/xpath/XPath#reset()" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPath.reset()</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="XPathFunctionResolver">
<MemberSignature Language="C#" Value="public Javax.Xml.Xpath.IXPathFunctionResolver? XPathFunctionResolver { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Javax.Xml.Xpath.IXPathFunctionResolver XPathFunctionResolver" />
<MemberSignature Language="DocId" Value="P:Javax.Xml.Xpath.IXPath.XPathFunctionResolver" />
<MemberSignature Language="F#" Value="member this.XPathFunctionResolver : Javax.Xml.Xpath.IXPathFunctionResolver with get, set" Usage="Javax.Xml.Xpath.IXPath.XPathFunctionResolver" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getXPathFunctionResolver", "()Ljavax/xml/xpath/XPathFunctionResolver;", "GetGetXPathFunctionResolverHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getXPathFunctionResolver", "()Ljavax/xml/xpath/XPathFunctionResolver;", "GetGetXPathFunctionResolverHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setXPathFunctionResolver", "(Ljavax/xml/xpath/XPathFunctionResolver;)V", "GetSetXPathFunctionResolver_Ljavax_xml_xpath_XPathFunctionResolver_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setXPathFunctionResolver", "(Ljavax/xml/xpath/XPathFunctionResolver;)V", "GetSetXPathFunctionResolver_Ljavax_xml_xpath_XPathFunctionResolver_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Xml.Xpath.IXPathFunctionResolver</ReturnType>
</ReturnValue>
<Docs>
<summary tool="true"></summary>
<value>To be added.</value>
<remarks>
<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" />
<exception cref="T:Java.Lang.NullPointerException">If <c>resolver</c> is <c>null</c>.
</exception>
</Docs>
</Member>
<Member MemberName="XPathVariableResolver">
<MemberSignature Language="C#" Value="public Javax.Xml.Xpath.IXPathVariableResolver? XPathVariableResolver { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Javax.Xml.Xpath.IXPathVariableResolver XPathVariableResolver" />
<MemberSignature Language="DocId" Value="P:Javax.Xml.Xpath.IXPath.XPathVariableResolver" />
<MemberSignature Language="F#" Value="member this.XPathVariableResolver : Javax.Xml.Xpath.IXPathVariableResolver with get, set" Usage="Javax.Xml.Xpath.IXPath.XPathVariableResolver" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getXPathVariableResolver", "()Ljavax/xml/xpath/XPathVariableResolver;", "GetGetXPathVariableResolverHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getXPathVariableResolver", "()Ljavax/xml/xpath/XPathVariableResolver;", "GetGetXPathVariableResolverHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setXPathVariableResolver", "(Ljavax/xml/xpath/XPathVariableResolver;)V", "GetSetXPathVariableResolver_Ljavax_xml_xpath_XPathVariableResolver_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setXPathVariableResolver", "(Ljavax/xml/xpath/XPathVariableResolver;)V", "GetSetXPathVariableResolver_Ljavax_xml_xpath_XPathVariableResolver_Handler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Xml.Xpath.IXPathVariableResolver</ReturnType>
</ReturnValue>
<Docs>
<summary tool="true"></summary>
<value>To be added.</value>
<remarks>
<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" />
<exception cref="T:Java.Lang.NullPointerException">If <c>resolver</c> is <c>null</c>.
</exception>
</Docs>
</Member>
</Members>
</Type>