// we need to marshall args
Class[] paramTypes = { String.class, String.class,
Function.class, Boolean.TYPE };
for (int i = 0; i < args.length; i++)
args[i] = Context.jsToJava(args[i], paramTypes[i]);
AbstractNode target = (AbstractNode) njo.unwrap();
target.removeEventListenerNS
((String)args[0],
(String)args[1],
el,
((Boolean)args[3]).booleanValue());
return Undefined.instance;
}
if (args[2] instanceof NativeObject) {
SoftReference sr = (SoftReference)listenerMap.get(args[2]);
if (sr == null)
return Undefined.instance;
EventListener el = (EventListener)sr.get();
if (el == null)
return Undefined.instance;
// we need to marshall args
Class[] paramTypes = { String.class, String.class,
Scriptable.class, Boolean.TYPE };
for (int i = 0; i < args.length; i++)
args[i] = Context.jsToJava(args[i], paramTypes[i]);
AbstractNode target = (AbstractNode) njo.unwrap();
target.removeEventListenerNS
((String)args[0],
(String)args[1],
el,
((Boolean)args[3]).booleanValue());
return Undefined.instance;