IXPathFunctionResolver.ResolveFunction(QName, Int32) Method

Definition

Find a function in the set of available functions.

[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")]
public Javax.Xml.Xpath.IXPathFunction? ResolveFunction (Javax.Xml.Namespace.QName? functionName, int arity);
[<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")>]
abstract member ResolveFunction : Javax.Xml.Namespace.QName * int -> Javax.Xml.Xpath.IXPathFunction

Parameters

functionName
QName

The function name.

arity
Int32

The number of arguments that the returned function must accept.

Returns

The function or null if no function named functionName with arity arguments exists.

Attributes

Exceptions

If functionName or arity is null.

Remarks

Find a function in the set of available functions.

If functionName or arity is null, then a NullPointerException is thrown.

Java documentation for javax.xml.xpath.XPathFunctionResolver.resolveFunction(javax.xml.namespace.QName, int).

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