Package org.htmlunit.javascript.host
Class NativeFunctionPrefixResolver
- java.lang.Object
-
- org.htmlunit.javascript.host.NativeFunctionPrefixResolver
-
- All Implemented Interfaces:
org.htmlunit.xpath.xml.utils.PrefixResolver
public class NativeFunctionPrefixResolver extends java.lang.Object implements org.htmlunit.xpath.xml.utils.PrefixResolver
A specialPrefixResolver
forNativeFunction
s.
-
-
Field Summary
Fields Modifier and Type Field Description private org.htmlunit.corejs.javascript.NativeFunction
resolverFn_
private org.htmlunit.corejs.javascript.Scriptable
scope_
-
Constructor Summary
Constructors Constructor Description NativeFunctionPrefixResolver(org.htmlunit.corejs.javascript.NativeFunction resolverFn, org.htmlunit.corejs.javascript.Scriptable scope)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getNamespaceForPrefix(java.lang.String prefix)
java.lang.String
getNamespaceForPrefix(java.lang.String prefix, org.w3c.dom.Node node)
boolean
handlesNullPrefixes()
-
-
-
Method Detail
-
getNamespaceForPrefix
public java.lang.String getNamespaceForPrefix(java.lang.String prefix)
- Specified by:
getNamespaceForPrefix
in interfaceorg.htmlunit.xpath.xml.utils.PrefixResolver
-
getNamespaceForPrefix
public java.lang.String getNamespaceForPrefix(java.lang.String prefix, org.w3c.dom.Node node)
- Specified by:
getNamespaceForPrefix
in interfaceorg.htmlunit.xpath.xml.utils.PrefixResolver
-
handlesNullPrefixes
public boolean handlesNullPrefixes()
- Specified by:
handlesNullPrefixes
in interfaceorg.htmlunit.xpath.xml.utils.PrefixResolver
-
-