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