Class IdScriptableObject

All Implemented Interfaces:
Serializable, ConstProperties<Scriptable>, DebuggableObject, IdFunctionCall, PropHolder<Scriptable>, Scriptable, SymbolScriptable

public abstract class IdScriptableObject extends ScriptableObject implements IdFunctionCall
Base class for native object implementation that uses IdFunctionObject to export its methods to script via <class-name>.prototype object.

Any descendant should implement at least the following methods: findInstanceIdInfo getInstanceIdName execIdCall methodArity

To define non-function properties, the descendant should override getInstanceIdValue setInstanceIdValue to get/set property value and provide its default attributes.

To customize initialization of constructor and prototype objects, descendant may override scopeInit or fillConstructorProperties methods.

See Also: