kd.bos.script.jsengine.def

## 类 KObject

- java.lang.Object
- - org.mozilla.javascript.ScriptableObject
  - - org.mozilla.javascript.IdScriptableObject
    - - kd.bos.script.jsengine.def.KObject

- 所有已实现的接口:
    java.io.Serializable, ScriptObject, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.IdFunctionCall, org.mozilla.javascript.Scriptable
  直接已知子类:
    KDyWrapper, KNamespace

      public class KObject
      extends org.mozilla.javascript.IdScriptableObject
      implements ScriptObject

  所有静态封装类，继承此类。
  另请参阅:
    序列化表格

- - ### 字段概要

    - ### 从类继承的字段 org.mozilla.javascript.ScriptableObject

      `CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST`

    - ### 从接口继承的字段 org.mozilla.javascript.Scriptable

      `NOT_FOUND`

  - ### 构造器概要

    构造器
    构造器和说明
    `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()`

    - ### 从类继承的方法 org.mozilla.javascript.IdScriptableObject

      `activatePrototypeMap, defineOwnProperty, delete, execIdCall, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, put, setAttributes`

    - ### 从类继承的方法 org.mozilla.javascript.ScriptableObject

      `associateValue, 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`

    - ### 从类继承的方法 java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### 从接口继承的方法 kd.bos.script.ScriptObject

      `__getUndefinedProperty`

- - ### 构造器详细资料

    - #### KObject

          public KObject()

  - ### 方法详细资料

    - #### getClassName

          public java.lang.String getClassName()

      从类复制的说明: `ScriptableObject`
      Return the name of the class. This is typically the same name as the constructor. Classes extending ScriptableObject must implement this abstract method.
      指定者:
        `getClassName` 在接口中 `org.mozilla.javascript.Scriptable`
      指定者:
        `getClassName` 在类中 `ScriptableObject`

    - #### toString

          public java.lang.String toString()

      覆盖:
        `toString` 在类中 `java.lang.Object`

    - #### getDefaultValue

          public java.lang.Object getDefaultValue(java.lang.Class<?> typeHint)

      从类复制的说明: `ScriptableObject`
      Implements the [[DefaultValue]] internal method.

      Note 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.Scriptable`
      覆盖:
        `getDefaultValue` 在类中 `ScriptableObject`
      参数:
        `typeHint` - the type hint
      返回:
        the default value for the object See ECMA 8.6.2.6.

    - #### __release

          public void __release()

      从接口复制的说明: `ScriptObject`
      释放本对象资源，子类实现。
      指定者:
        `__release` 在接口中 `ScriptObject`