public class KObject extends org.mozilla.javascript.IdScriptableObject implements ScriptObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST| 构造器和说明 |
|---|
KObject() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
__release()
释放本对象资源,子类实现。
|
java.lang.String |
getClassName()
Return the name of the class.
|
java.lang.Object |
getDefaultValue(java.lang.Class<?> typeHint)
Implements the [[DefaultValue]] internal method.
|
java.lang.String |
toString() |
activatePrototypeMap, defineOwnProperty, delete, execIdCall, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, put, setAttributesassociateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size__getUndefinedPropertypublic java.lang.String getClassName()
ScriptableObjectgetClassName 在接口中 org.mozilla.javascript.ScriptablegetClassName 在类中 ScriptableObjectpublic java.lang.String toString()
toString 在类中 java.lang.Objectpublic java.lang.Object getDefaultValue(java.lang.Class<?> typeHint)
ScriptableObjectNote that the toPrimitive conversion is a no-op for every type other than Object, for which [[DefaultValue]] is called. See ECMA 9.1.
A hint of null means "no hint".
getDefaultValue 在接口中 org.mozilla.javascript.ScriptablegetDefaultValue 在类中 ScriptableObjecttypeHint - the type hintpublic void __release()
ScriptObject__release 在接口中 ScriptObject