protected class AbstractDocument.XPathExpr extends java.lang.Object implements org.w3c.dom.xpath.XPathExpression
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractDocument.XPathExpr.NSPrefixResolver
Xalan prefix resolver.
|
class |
AbstractDocument.XPathExpr.Result
XPathResult implementation.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractDocument.XPathExpr.NSPrefixResolver |
prefixResolver
The Xalan prefix resolver.
|
protected org.w3c.dom.xpath.XPathNSResolver |
resolver
The namespace resolver.
|
protected javax.xml.xpath.XPathExpression |
xpath
The compiled XPath expression.
|
Constructor and Description |
---|
XPathExpr(java.lang.String expr,
org.w3c.dom.xpath.XPathNSResolver res)
Creates a new XPathExpr object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
evaluate(Node contextNode,
short type,
java.lang.Object res)
DOM: Implements
XPathExpression.evaluate(Node,short,Object) . |
protected javax.xml.xpath.XPathExpression xpath
protected org.w3c.dom.xpath.XPathNSResolver resolver
protected AbstractDocument.XPathExpr.NSPrefixResolver prefixResolver
public XPathExpr(java.lang.String expr, org.w3c.dom.xpath.XPathNSResolver res) throws DOMException, org.w3c.dom.xpath.XPathException
public java.lang.Object evaluate(Node contextNode, short type, java.lang.Object res) throws org.w3c.dom.xpath.XPathException, DOMException
XPathExpression.evaluate(Node,short,Object)
.evaluate
in interface org.w3c.dom.xpath.XPathExpression
org.w3c.dom.xpath.XPathException
DOMException
Copyright © 2022 Apache Software Foundation. All Rights Reserved.