-
Notifications
You must be signed in to change notification settings - Fork 0
/
IXPathFunctionResolver.xml
107 lines (107 loc) · 7.43 KB
/
IXPathFunctionResolver.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
<Type Name="IXPathFunctionResolver" FullName="Javax.Xml.Xpath.IXPathFunctionResolver">
<TypeSignature Language="C#" Value="public interface IXPathFunctionResolver : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IXPathFunctionResolver implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Javax.Xml.Xpath.IXPathFunctionResolver" />
<TypeSignature Language="F#" Value="type IXPathFunctionResolver = 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/XPathFunctionResolver", "", "Javax.Xml.Xpath.IXPathFunctionResolverInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("javax/xml/xpath/XPathFunctionResolver", "", "Javax.Xml.Xpath.IXPathFunctionResolverInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="8">
<summary>
<c>XPathFunctionResolver</c> provides access to the set of user defined <c>XPathFunction</c>s.</summary>
<remarks>
<para>
<c>XPathFunctionResolver</c> provides access to the set of user defined <c>XPathFunction</c>s.</para>
<para>XPath functions are resolved by name and arity.
The resolver is not needed for XPath built-in functions and the resolver
<strong><em>cannot</em></strong> be used to override those functions.</para>
<para>In particular, the resolver is only called for functions in an another
namespace (functions with an explicit prefix). This means that you cannot
use the <c>XPathFunctionResolver</c> to implement specifications
like <see href="http://www.w3.org/TR/xmldsig-core/">XML-Signature Syntax
and Processing</see> which extend the function library of XPath 1.0 in the
same namespace. This is a consequence of the design of the resolver.</para>
<para>If you wish to implement additional built-in functions, you will have to
extend the underlying implementation directly.</para>
<para>Added in 1.5.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/javax/xml/xpath/XPathFunctionResolver" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPathFunctionResolver</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="ResolveFunction">
<MemberSignature Language="C#" Value="public Javax.Xml.Xpath.IXPathFunction? ResolveFunction (Javax.Xml.Namespace.QName? functionName, int arity);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Javax.Xml.Xpath.IXPathFunction ResolveFunction(class Javax.Xml.Namespace.QName functionName, int32 arity) cil managed" />
<MemberSignature Language="DocId" Value="M:Javax.Xml.Xpath.IXPathFunctionResolver.ResolveFunction(Javax.Xml.Namespace.QName,System.Int32)" />
<MemberSignature Language="F#" Value="abstract member ResolveFunction : Javax.Xml.Namespace.QName * int -> Javax.Xml.Xpath.IXPathFunction" Usage="iXPathFunctionResolver.ResolveFunction (functionName, arity)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("resolveFunction", "(Ljavax/xml/namespace/QName;I)Ljavax/xml/xpath/XPathFunction;", "GetResolveFunction_Ljavax_xml_namespace_QName_IHandler:Javax.Xml.Xpath.IXPathFunctionResolverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("resolveFunction", "(Ljavax/xml/namespace/QName;I)Ljavax/xml/xpath/XPathFunction;", "GetResolveFunction_Ljavax_xml_namespace_QName_IHandler:Javax.Xml.Xpath.IXPathFunctionResolverInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Javax.Xml.Xpath.IXPathFunction</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="functionName" Type="Javax.Xml.Namespace.QName" />
<Parameter Name="arity" Type="System.Int32" />
</Parameters>
<Docs>
<param name="functionName">The function name.</param>
<param name="arity">The number of arguments that the returned function must accept.</param>
<summary>Find a function in the set of available functions.</summary>
<returns>The function or <c>null</c> if no function named <c>functionName</c> with <c>arity</c> arguments exists.</returns>
<remarks>
<para>Find a function in the set of available functions.</para>
<para>If <c>functionName</c> or <c>arity</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/XPathFunctionResolver#resolveFunction(javax.xml.namespace.QName,%20int)" title="Reference documentation">Java documentation for <code>javax.xml.xpath.XPathFunctionResolver.resolveFunction(javax.xml.namespace.QName, int)</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:Java.Lang.NullPointerException">If <c>functionName</c> or <c>arity</c> is <c>null</c>.
</exception>
</Docs>
</Member>
</Members>
</Type>