XFA4J

com.adobe.xfa.scripthandler.rhino
Class LiveObject

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.adobe.xfa.scripthandler.rhino.LiveObject
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class LiveObject
extends org.mozilla.javascript.ScriptableObject

A class to expose XFA objects to JavaScript scripting. Each scriptable XFA objects is peered to instances of this class.

See Also:
Serialized Form

Field Summary
protected  RhinoScriptHandler moHandler
           
protected  com.adobe.xfa.scripthandler.rhino.ScriptObject moScriptObj
           
protected  Obj moXFAObject
           
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
LiveObject(RhinoScriptHandler handler, Obj xfaObject)
          Instantiates a LiveObject object.
 
Method Summary
 
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, getClassName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

moHandler

protected transient RhinoScriptHandler moHandler

moScriptObj

protected transient com.adobe.xfa.scripthandler.rhino.ScriptObject moScriptObj

moXFAObject

protected transient Obj moXFAObject
Constructor Detail

LiveObject

public LiveObject(RhinoScriptHandler handler,
                  Obj xfaObject)
Instantiates a LiveObject object. The lone constructor used by this package to create instances of this class.

Parameters:
handler - a Rhino script handler.
xfaObject - the XFA object that is peered to this object.

XFA4J

© 2005 Adobe Systems Incorporated. All Rights Reserved.