jxl.enshell
Class ScriptedScope
java.lang.Object
jxl.enshell.AbstractScope
jxl.enshell.ScriptedScope
public class ScriptedScope
- extends AbstractScope
- Author:
- Alex Lynch (jxlynch@users.sf.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
newRootScope
public static ScriptedScope newRootScope()
newRootScope
public static ScriptedScope newRootScope(java.lang.ClassLoader cl)
newSubScope
protected static final ScriptedScope newSubScope(AbstractScope parent)
addImport
public void addImport(java.lang.String name,
boolean packageImport)
- Specified by:
addImport
in class AbstractScope
doResolveClass
public java.lang.Class doResolveClass(java.lang.String name)
- Specified by:
doResolveClass
in class AbstractScope
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
defineVar
public void defineVar(java.lang.String name,
java.lang.Object val)
- Specified by:
defineVar
in class AbstractScope
doGetVar
public java.lang.Object doGetVar(java.lang.String name)
- Specified by:
doGetVar
in class AbstractScope
doSetVar
public void doSetVar(java.lang.String name,
java.lang.Object val)
- Specified by:
doSetVar
in class AbstractScope
doIsVarDefined
public boolean doIsVarDefined(java.lang.String name)
- Specified by:
doIsVarDefined
in class AbstractScope
doGetMethods
public java.util.Set<AbstractMethod> doGetMethods()
- Specified by:
doGetMethods
in class AbstractScope
declareMethod
protected void declareMethod(AbstractMethod meth)
- Specified by:
declareMethod
in class AbstractScope