public class LiveObject extends ScriptableObject
| Modifier and Type | Field and Description |
|---|---|
static String |
CLASSNAME |
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
LiveObject(RhinoScriptHandler handler,
Obj xfaObject)
Instantiates a LiveObject object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String name,
Scriptable start)
Gets the value of the named property of this object.
|
String |
getClassName()
Gets the name of the class.
|
static Object |
invoke(Context cx,
Scriptable obj,
Object[] args,
Function func) |
void |
jsConstructor(Object handler,
Object xfaObject)
Defines the JavaScript constructor to Rhino.
|
void |
put(String name,
Scriptable start,
Object value)
Puts the value of the named property of the start object.
|
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isConst, isEmpty, isExtensible, isSealed, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizepublic static final String CLASSNAME
public LiveObject(RhinoScriptHandler handler, Obj xfaObject)
handler - a Rhino script handler.xfaObject - the XFA object that is peered to this object.public void jsConstructor(Object handler, Object xfaObject)
This method is required by the Scriptable interface and must mirror the signature of the class constructor.
handler - a Rhino script handler.xfaObject - the XFA object that is peered to this object.public String getClassName()
getClassName in interface ScriptablegetClassName in class ScriptableObjectpublic Object get(String name, Scriptable start)
get in interface Scriptableget in class ScriptableObjectname - the name of the property.start - the object in which the lookup began.EvaluatorException - whenever an ExFull was thrown while getting the XFA
property.Context.getUndefinedValue()public void put(String name, Scriptable start, Object value)
This method may (or not) set the property in the start object.
put in interface Scriptableput in class ScriptableObjectname - the name of the property.start - the object whose property is being set.value - the value to set the property to.Scriptable.has(String, Scriptable),
Scriptable.get(String, Scriptable),
ScriptableObject.putProperty(Scriptable, String, Object),
Context.toObject(Object, Scriptable)public static Object invoke(Context cx, Scriptable obj, Object[] args, Function func)
Copyright © 2010 - 2020 Adobe. All Rights Reserved