public interface IJavascriptWrapper
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
wrap(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
java.lang.Object javaObject,
java.lang.Class staticType)
wrap an java object into javascript object.
|
java.lang.Object wrap(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, java.lang.Object javaObject, java.lang.Class staticType)
cx
- context used to execute the wrap.scope
- scope used to execute the wrap.javaObject
- orignal java objectstaticType
- hint used to wrap this objectCopyright © 2014 OpenText Corp. All rights reserved.