Package edu.mit.simile.butterfly
Class ButterflyScope
- java.lang.Object
-
- org.mozilla.javascript.ScriptableObject
-
- edu.mit.simile.butterfly.ButterflyScope
-
- All Implemented Interfaces:
Serializable,org.mozilla.javascript.ConstProperties,org.mozilla.javascript.debug.DebuggableObject,org.mozilla.javascript.Scriptable
public class ButterflyScope extends org.mozilla.javascript.ScriptableObjectThis class represents the "scope" of that is given to a javascript controller and contains all the various objects that the controller might need to interact with the system.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger_logger
-
Constructor Summary
Constructors Constructor Description ButterflyScope(ButterflyModule module, org.mozilla.javascript.Context context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassName()-
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
-
-
-
-
Constructor Detail
-
ButterflyScope
public ButterflyScope(ButterflyModule module, org.mozilla.javascript.Context context) throws Exception
- Throws:
Exception
-
-
Method Detail
-
getClassName
public String getClassName()
- Specified by:
getClassNamein interfaceorg.mozilla.javascript.Scriptable- Specified by:
getClassNamein classorg.mozilla.javascript.ScriptableObject
-
-