Udostępnij za pośrednictwem


IXPath.Reset Method

Definition

Reset this XPath to its original configuration.

[Android.Runtime.Register("reset", "()V", "GetResetHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void Reset ();
[<Android.Runtime.Register("reset", "()V", "GetResetHandler:Javax.Xml.Xpath.IXPathInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Reset : unit -> unit
Attributes

Remarks

Reset this XPath to its original configuration.

XPath is reset to the same state as when it was created with XPathFactory#newXPath(). reset() is designed to allow the reuse of existing XPaths thus saving resources associated with the creation of new XPaths.

The reset XPath is not guaranteed to have the same XPathFunctionResolver, XPathVariableResolver or NamespaceContextObjects, e.g. Object#equals(Object obj). It is guaranteed to have a functionally equal XPathFunctionResolver, XPathVariableResolver and NamespaceContext.

Java documentation for javax.xml.xpath.XPath.reset().

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