wt.util.xml.xpath
Interface XPathNI
- All Superinterfaces:
- XPath
- All Known Implementing Classes:
- XPathXalan2Impl
- public interface XPathNI
- extends XPath
Extension to basic XPath interface which provides extra capabilities
in the area of NodeIterators (see methods). The XPath instances produced
by XPathFactory may or may not implement this interface (though they do
at this time).
Method Summary |
Object |
evaluateAllowingIterResult(Node node)
Same as XPath.evaluate(Node) except that org.w3c.dom.traversal.NodeIterator
objects will be returned in place of NodeLists when the result is a node
set. |
evaluateAllowingIterResult
public Object evaluateAllowingIterResult(Node node)
throws XPathException
- Same as XPath.evaluate(Node) except that org.w3c.dom.traversal.NodeIterator
objects will be returned in place of NodeLists when the result is a node
set. This can be advantageous in that it may be more efficient in some
XPath implementations.
- Throws:
XPathException