XPathFactory.SetXPathFunctionResolver(IXPathFunctionResolver) 方法

定义

建立默认函数解析程序。

[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

参数

resolver
IXPathFunctionResolver

XPath 函数解析程序。

属性

例外

如果 resolvernull

注解

建立默认函数解析程序。

从此工厂构造的任何 XPath 对象都将默认使用指定的解析程序。

如果resolvernull,则引发 ANullPointerException

适用于 . 的 javax.xml.xpath.XPathFactory.setXPathFunctionResolver(javax.xml.xpath.XPathFunctionResolver)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于