public class NativeFunctionPrefixResolver extends Object implements org.htmlunit.xpath.xml.utils.PrefixResolver
PrefixResolver
for NativeFunction
s.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.PrefixResolver
public String getNamespaceForPrefix(String prefix, Node node)
getNamespaceForPrefix
in interface org.htmlunit.xpath.xml.utils.PrefixResolver
public boolean handlesNullPrefixes()
handlesNullPrefixes
in interface org.htmlunit.xpath.xml.utils.PrefixResolver
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.