Package org.loboevolution.html.dom.xpath
Class XPathNSResolverImpl
java.lang.Object
org.loboevolution.html.dom.xpath.XPathNSResolverImpl
- All Implemented Interfaces:
XPathNSResolver
XPathNSResolverImpl class.
-
Constructor Summary
ConstructorDescriptionXPathNSResolverImpl
(Node xpathExpressionContext) Constructor for XPathNSResolverImpl. -
Method Summary
Modifier and TypeMethodDescriptionlookupNamespaceURI
(String prefix) Look up the namespace URI associated to the given namespace prefix.
-
Constructor Details
-
XPathNSResolverImpl
Constructor for XPathNSResolverImpl.
- Parameters:
xpathExpressionContext
- aNode
object.
-
-
Method Details
-
lookupNamespaceURI
Look up the namespace URI associated to the given namespace prefix. The XPath evaluator must never call this with a null or empty argument, because the result of doing this is undefined.- Specified by:
lookupNamespaceURI
in interfaceXPathNSResolver
- Parameters:
prefix
- The prefix to look for.- Returns:
- Returns the associated namespace URI or null if none is found.
-