Share via


XPathFactory.SetXPathVariableResolver(IXPathVariableResolver) Method

Definition

Establish a default variable resolver.

[Android.Runtime.Register("setXPathVariableResolver", "(Ljavax/xml/xpath/XPathVariableResolver;)V", "GetSetXPathVariableResolver_Ljavax_xml_xpath_XPathVariableResolver_Handler")]
public abstract void SetXPathVariableResolver (Javax.Xml.Xpath.IXPathVariableResolver? resolver);
[<Android.Runtime.Register("setXPathVariableResolver", "(Ljavax/xml/xpath/XPathVariableResolver;)V", "GetSetXPathVariableResolver_Ljavax_xml_xpath_XPathVariableResolver_Handler")>]
abstract member SetXPathVariableResolver : Javax.Xml.Xpath.IXPathVariableResolver -> unit

Parameters

resolver
IXPathVariableResolver

Variable resolver.

Attributes

Exceptions

If resolver is null.

Remarks

Establish a default variable 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.setXPathVariableResolver(javax.xml.xpath.XPathVariableResolver).

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