共用方式為


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 物件預設都會使用指定的解析程式。

NullPointerException如果 resolvernull,則會擲回 。

javax.xml.xpath.XPathFactory.setXPathFunctionResolver(javax.xml.xpath.XPathFunctionResolver)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於