public final class HtmlUnitPrefixResolver extends org.htmlunit.xpath.xml.utils.PrefixResolverDefault
PrefixResolverDefault
extension.Constructor and Description |
---|
HtmlUnitPrefixResolver(Node xpathExpressionContext)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceForPrefix(String prefix,
Node namespaceContext) |
getNamespaceForPrefix, handlesNullPrefixes
public HtmlUnitPrefixResolver(Node xpathExpressionContext)
xpathExpressionContext
- the context from which XPath expression prefixes will be resolvedpublic String getNamespaceForPrefix(String prefix, Node namespaceContext)
getNamespaceForPrefix
in interface org.htmlunit.xpath.xml.utils.PrefixResolver
getNamespaceForPrefix
in class org.htmlunit.xpath.xml.utils.PrefixResolverDefault
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.