XPathEvaluator. In a DOM implementation which supports the XPath 3.0 feature, as described above, the
XPathEvaluatorinterface will be implemented on the same object which implements the
Documentinterface permitting it to be obtained by the usual binding-specific method such as casting or by using the DOM Level 3 getInterface method. In this case the implementation obtained from the Document supports the XPath DOM module and is compatible with the XPath 1.0 specification.
Evaluation of expressions with specialized extension functions or
variables may not work in all implementations and is, therefore, not
XPathEvaluator implementations may be available
from other sources that could provide specific support for specialized
extension functions or variables as would be defined by other
See also the Document Object Model (DOM) Level 3 XPath Specification.
|Method from org.w3c.dom.xpath.XPathEvaluator Summary:|
|createExpression, createNSResolver, evaluate|
|Method from org.w3c.dom.xpath.XPathEvaluator Detail:|
public XPathExpression createExpression(String expression, XPathNSResolver resolver) throws XPathException, DOMException
public XPathNSResolver createNSResolver(Node nodeResolver)
public Object evaluate(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) throws XPathException, DOMException