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