MetaDone
|
Public Member Functions | |
Object | wrap (Context cx, Scriptable scope, Object obj, Class<?> staticType) |
An extension to this factory.
Object metadone.metabusiness.script.js.GenericJSWrapFactory.WrapExtension.wrap | ( | Context | cx, |
Scriptable | scope, | ||
Object | obj, | ||
Class<?> | staticType | ||
) |
Tries to wrap the object
cx | The context |
scope | The scope of the executing script |
obj | The object to wrap (not null) |
staticType | The class of the object for security restrictions |
null
Implemented in metadone.metabusiness.script.js.CollectionsWrapFactory.