Class ExtendableJavaObject

java.lang.Object
org.mozilla.javascript.NativeJavaObject
ca.phon.script.js.ExtendableJavaObject
All Implemented Interfaces:
Serializable, org.mozilla.javascript.Scriptable, org.mozilla.javascript.SymbolScriptable, org.mozilla.javascript.Wrapper

public class ExtendableJavaObject extends org.mozilla.javascript.NativeJavaObject
JavaScript wrapper object for IExtendable objects.
See Also:
  • Field Summary

    Fields inherited from class org.mozilla.javascript.NativeJavaObject

    isAdapter, javaObject, members, parent, prototype, staticType

    Fields inherited from interface org.mozilla.javascript.Scriptable

    NOT_FOUND
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtendableJavaObject(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, IExtendable extendableJavaObject, Class<?> staticType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String name, org.mozilla.javascript.Scriptable start)
     
    boolean
    has(String name, org.mozilla.javascript.Scriptable start)
     

    Methods inherited from class org.mozilla.javascript.NativeJavaObject

    canConvert, coerceType, createInterfaceAdapter, delete, delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, initMembers, put, put, put, setParentScope, setPrototype, unwrap, wrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExtendableJavaObject

      public ExtendableJavaObject(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, IExtendable extendableJavaObject, Class<?> staticType)
  • Method Details

    • get

      public Object get(String name, org.mozilla.javascript.Scriptable start)
      Specified by:
      get in interface org.mozilla.javascript.Scriptable
      Overrides:
      get in class org.mozilla.javascript.NativeJavaObject
    • has

      public boolean has(String name, org.mozilla.javascript.Scriptable start)
      Specified by:
      has in interface org.mozilla.javascript.Scriptable
      Overrides:
      has in class org.mozilla.javascript.NativeJavaObject