Uses of Class org.w3c.dom.xpath.XPathException (Java SE 21 & JDK 21)
Description: use: module: jdk.xml.dom, package: org.w3c.dom.xpath, class: XPathException

# Uses of Class
org.w3c.dom.xpath.XPathException

Packages that use XPathException
Package
Description
org.w3c.dom.xpath
Provides interfaces for DOM Level 3 XPath Specification.

- ## Uses of XPathException in org.w3c.dom.xpath

  Methods in org.w3c.dom.xpath that throw XPathException
  Modifier and Type
  Method
  Description
  `XPathExpression`
  XPathEvaluator.`createExpression(String expression, XPathNSResolver resolver)`
  Creates a parsed XPath expression with resolved namespaces.
  `Object`
  XPathEvaluator.`evaluate(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result)`
  Evaluates an XPath expression string and returns a result of the specified type if possible.
  `Object`
  XPathExpression.`evaluate(Node contextNode, short type, Object result)`
  Evaluates this XPath expression and returns a result.
  `boolean`
  XPathResult.`getBooleanValue()`
  The value of this boolean result.
  `double`
  XPathResult.`getNumberValue()`
  The value of this number result.
  `Node`
  XPathResult.`getSingleNodeValue()`
  The value of this single node result, which may be `null`.
  `int`
  XPathResult.`getSnapshotLength()`
  The number of nodes in the result snapshot.
  `String`
  XPathResult.`getStringValue()`
  The value of this string result.
  `Node`
  XPathResult.`iterateNext()`
  Iterates and returns the next node from the node set or `null`if there are no more nodes.
  `Node`
  XPathResult.`snapshotItem(int index)`
  Returns the `index`th item in the snapshot collection.