HPSearch

cgl.hpsearch.shell.wsctx
Class WSContext

java.lang.Object
  extended byorg.mozilla.javascript.ScriptableObject
      extended bycgl.hpsearch.shell.wsctx.WSContext
All Implemented Interfaces:
Scriptable, Serializable

public class WSContext
extends ScriptableObject

WSContext Object to deal with context registries
Created on Mar 22, 2005

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
WSContext()
           
 
Method Summary
 String getClassName()
           
static Scriptable jsConstructor(Context cx, Object[] args, Function ctorObj, boolean inNewExpr)
           
static Scriptable jsFunction_get(Context _cx, Scriptable _thisObj, Object[] id, Function funObj)
           
static String jsFunction_put(Context _cx, Scriptable _thisObj, Object[] id, Function funObj)
           
 
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

WSContext

public WSContext()
Method Detail

jsConstructor

public static Scriptable jsConstructor(Context cx,
                                       Object[] args,
                                       Function ctorObj,
                                       boolean inNewExpr)

getClassName

public String getClassName()

jsFunction_put

public static String jsFunction_put(Context _cx,
                                    Scriptable _thisObj,
                                    Object[] id,
                                    Function funObj)

jsFunction_get

public static Scriptable jsFunction_get(Context _cx,
                                        Scriptable _thisObj,
                                        Object[] id,
                                        Function funObj)

HPSearch

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