Reset this XPath
to its original configuration.
XPath
is reset to the same state as when it was created with {@link XPathFactory#newXPath()}. reset()
is designed to allow the reuse of existing XPath
s thus saving resources associated with the creation of new XPath
s.
The reset XPath
is not guaranteed to have the same {@link XPathFunctionResolver}, {@link XPathVariableResolver}or {@link NamespaceContext} Object
s, e.g. {@link Object#equals(Object obj)}. It is guaranteed to have a functionally equal XPathFunctionResolver
, XPathVariableResolver
and NamespaceContext
.
|
|