public class RingoWrapFactory
extends org.mozilla.javascript.WrapFactory
| Constructor and Description |
|---|
RingoWrapFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
wrap(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
Object obj,
Class staticType)
Override to wrap maps as scriptables.
|
public Object wrap(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, Object obj, Class staticType)
wrap in class org.mozilla.javascript.WrapFactorycx - the current Context for this threadscope - the scope of the executing scriptobj - the object to be wrapped. Note it can be null.staticType - type hint. If security restrictions prevent to wrap
object based on its class, staticType will be used instead.Copyright © 2016. All rights reserved.