org.apache.xpath.domapi
Class XPathNSResolverImpl
java.lang.Object
org.apache.xml.utils.PrefixResolverDefault
org.apache.xpath.domapi.XPathNSResolverImpl
- All Implemented Interfaces:
- PrefixResolver
class XPathNSResolverImpl
- extends PrefixResolverDefault
The class provides an implementation XPathNSResolver according
to the DOM L3 XPath Specification, Working Group Note 26 February 2004.
See also the Document Object Model (DOM) Level 3 XPath Specification.
The XPathNSResolver
interface permit prefix
strings in the expression to be properly bound to
namespaceURI
strings. XPathEvaluator
can
construct an implementation of XPathNSResolver
from a node,
or the interface may be implemented by any application.
- See Also:
org.w3c.dom.xpath.XPathNSResolver
Constructor Summary |
XPathNSResolverImpl(org.w3c.dom.Node xpathExpressionContext)
Constructor for XPathNSResolverImpl. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathNSResolverImpl
public XPathNSResolverImpl(org.w3c.dom.Node xpathExpressionContext)
- Constructor for XPathNSResolverImpl.
- Parameters:
xpathExpressionContext
-
lookupNamespaceURI
public java.lang.String lookupNamespaceURI(java.lang.String prefix)
- See Also:
org.w3c.dom.xpath.XPathNSResolver#lookupNamespaceURI(String)