fi.hut.tml.xsmiles.ecma.rhino
Class XSmilesWrapFactory

java.lang.Object
  extended byorg.mozilla.javascript.WrapFactory
      extended byfi.hut.tml.xsmiles.ecma.rhino.XSmilesWrapFactory

public class XSmilesWrapFactory
extends org.mozilla.javascript.WrapFactory

This is an utility class allowing to pass an ECMAScript function as a parameter of the addEventListener method of EventTarget objects as DOM Level 2 recommendation required.

Version:
$Id: XSmilesWrapFactory.java 5110 2004-05-17 14:33:23Z honkkis $
Author:
Christophe Jolif

Constructor Summary
XSmilesWrapFactory(RhinoScripter interp)
           
 
Method Summary
 java.lang.Object wrap(org.mozilla.javascript.Context ctx, org.mozilla.javascript.Scriptable scope, java.lang.Object obj, java.lang.Class staticType)
           
 
Methods inherited from class org.mozilla.javascript.WrapFactory
isJavaPrimitiveWrap, setJavaPrimitiveWrap, wrapAsJavaObject, wrapNewObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSmilesWrapFactory

public XSmilesWrapFactory(RhinoScripter interp)
Method Detail

wrap

public java.lang.Object wrap(org.mozilla.javascript.Context ctx,
                             org.mozilla.javascript.Scriptable scope,
                             java.lang.Object obj,
                             java.lang.Class staticType)


X-Smiles 1.2