XPathFactory.SetXPathVariableResolver(IXPathVariableResolver) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
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.