Package edu.mit.simile.butterfly
Class ButterflyScriptableObject
- java.lang.Object
-
- org.mozilla.javascript.ScriptableObject
-
- edu.mit.simile.butterfly.ButterflyScriptableObject
-
- All Implemented Interfaces:
Serializable,org.mozilla.javascript.ConstProperties,org.mozilla.javascript.debug.DebuggableObject,org.mozilla.javascript.Scriptable
- Direct Known Subclasses:
ScriptableButterfly
public abstract class ButterflyScriptableObject extends org.mozilla.javascript.ScriptableObjectThis class extends the default Rhino scriptable object to provide some convenience methods.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ButterflyModule_moduleprotected org.apache.commons.collections.ExtendedProperties_properties
-
Constructor Summary
Constructors Constructor Description ButterflyScriptableObject()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddestroy()abstract StringgetClassName()voidinit(ButterflyModule module)static Objectunwrap(Object obj)static Objectwrap(Object obj, org.mozilla.javascript.Scriptable scope)-
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
-
-
-
-
Field Detail
-
_module
protected ButterflyModule _module
-
_properties
protected org.apache.commons.collections.ExtendedProperties _properties
-
-
Method Detail
-
init
public void init(ButterflyModule module)
-
destroy
public void destroy()
-
getClassName
public abstract String getClassName()
- Specified by:
getClassNamein interfaceorg.mozilla.javascript.Scriptable- Specified by:
getClassNamein classorg.mozilla.javascript.ScriptableObject
-
-