Sdílet prostřednictvím


XPathFactory.SetXPathFunctionResolver(IXPathFunctionResolver) Method

Definition

Establish a default function resolver.

[Android.Runtime.Register("setXPathFunctionResolver", "(Ljavax/xml/xpath/XPathFunctionResolver;)V", "GetSetXPathFunctionResolver_Ljavax_xml_xpath_XPathFunctionResolver_Handler")]
public abstract void SetXPathFunctionResolver (Javax.Xml.Xpath.IXPathFunctionResolver? resolver);
[<Android.Runtime.Register("setXPathFunctionResolver", "(Ljavax/xml/xpath/XPathFunctionResolver;)V", "GetSetXPathFunctionResolver_Ljavax_xml_xpath_XPathFunctionResolver_Handler")>]
abstract member SetXPathFunctionResolver : Javax.Xml.Xpath.IXPathFunctionResolver -> unit

Parameters

resolver
IXPathFunctionResolver

XPath function resolver.

Attributes

Exceptions

If resolver is null.

Remarks

Establish a default function resolver.

Any XPath objects constructed from this factory will use the specified resolver by default.

A NullPointerException is thrown if resolver is null.

Java documentation for javax.xml.xpath.XPathFactory.setXPathFunctionResolver(javax.xml.xpath.XPathFunctionResolver).

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