public class NativeFunctionPrefixResolver extends Object implements org.htmlunit.xpath.xml.utils.PrefixResolver
PrefixResolver for NativeFunctions.| Constructor and Description |
|---|
NativeFunctionPrefixResolver(org.htmlunit.corejs.javascript.NativeFunction resolverFn,
org.htmlunit.corejs.javascript.Scriptable scope)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespaceForPrefix(String prefix) |
String |
getNamespaceForPrefix(String prefix,
Node node) |
boolean |
handlesNullPrefixes() |
public NativeFunctionPrefixResolver(org.htmlunit.corejs.javascript.NativeFunction resolverFn, org.htmlunit.corejs.javascript.Scriptable scope)
resolverFn - the NativeFunction this resolver is forscope - the scopepublic String getNamespaceForPrefix(String prefix)
getNamespaceForPrefix in interface org.htmlunit.xpath.xml.utils.PrefixResolverpublic String getNamespaceForPrefix(String prefix, Node node)
getNamespaceForPrefix in interface org.htmlunit.xpath.xml.utils.PrefixResolverpublic boolean handlesNullPrefixes()
handlesNullPrefixes in interface org.htmlunit.xpath.xml.utils.PrefixResolverCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.