HPSearch

cgl.hpsearch.shell.system
Class Props

java.lang.Object
  extended byorg.mozilla.javascript.ScriptableObject
      extended bycgl.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

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
DONTENUM, EMPTY, parent, PERMANENT, prototype, READONLY
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
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
 

Constructor Detail

Props

public Props()
Method Detail

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


HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006