cgl.hpsearch.shell.system
Class Props
java.lang.Object
org.mozilla.javascript.ScriptableObject
cgl.hpsearch.shell.system.Props
- All Implemented Interfaces:
- Scriptable, Serializable
- public class Props
- extends ScriptableObject
Created on Oct 18, 2004
- Author:
- Harshawardhan Gadgil (hgadgil@grids.ucs.indiana.edu)
- See Also:
- Serialized Form
|
Constructor Summary |
Props()
|
|
Method Summary |
String |
getClassName()
|
static Scriptable |
jsConstructor(Context cx,
Object[] args,
Function ctorObj,
boolean inNewExpr)
Creates a Props object |
static Object |
jsFunction_get(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
|
static void |
jsFunction_set(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
|
static String |
jsFunction_XMLize(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
Marshalls the object to XML using Castor |
| Methods inherited from class org.mozilla.javascript.ScriptableObject |
callMethod, defineClass, defineClass, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, get, get, getAllIds, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, has, has, hasInstance, hasProperty, hasProperty, isSealed, put, put, putProperty, putProperty, sealObject, setAttributes, setAttributes, setParentScope, setPrototype |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Props
public Props()
jsConstructor
public static Scriptable jsConstructor(Context cx,
Object[] args,
Function ctorObj,
boolean inNewExpr)
- Creates a Props object
- Returns:
- Props object
getClassName
public String getClassName()
jsFunction_set
public static void jsFunction_set(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
jsFunction_get
public static Object jsFunction_get(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
jsFunction_XMLize
public static String jsFunction_XMLize(Context _cx,
Scriptable thisObj,
Object[] id,
Function funObj)
- Marshalls the object to XML using Castor