Uses of Class
org.w3c.dom.xpath.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 XPathExpressionXPathEvaluator. createExpression(String expression, XPathNSResolver resolver)Creates a parsed XPath expression with resolved namespaces.ObjectXPathEvaluator. 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.ObjectXPathExpression. evaluate(Node contextNode, short type, Object result)Evaluates this XPath expression and returns a result.booleanXPathResult. getBooleanValue()The value of this boolean result.doubleXPathResult. getNumberValue()The value of this number result.NodeXPathResult. getSingleNodeValue()The value of this single node result, which may benull.intXPathResult. getSnapshotLength()The number of nodes in the result snapshot.StringXPathResult. getStringValue()The value of this string result.NodeXPathResult. iterateNext()Iterates and returns the next node from the node set ornullif there are no more nodes.NodeXPathResult. snapshotItem(int index)Returns theindexth item in the snapshot collection.