jxl.enshell
Class StaticScope
java.lang.Object
jxl.enshell.AbstractScope
jxl.enshell.StaticScope
public class StaticScope
- extends AbstractScope
- Author:
- Alex Lynch (jxlynch@users.sf.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticScope
public StaticScope(AbstractScope parent,
java.lang.Class subject)
- Creates a new instance of ClassScope
declareMethod
protected void declareMethod(AbstractMethod meth)
- Specified by:
declareMethod
in class AbstractScope
addImport
public void addImport(java.lang.String name,
boolean pack)
- Specified by:
addImport
in class AbstractScope
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)
throws EvalException
- Specified by:
doGetVar
in class AbstractScope
- Throws:
EvalException
doIsVarDefined
public boolean doIsVarDefined(java.lang.String name)
- Specified by:
doIsVarDefined
in class AbstractScope
doResolveClass
public java.lang.Class doResolveClass(java.lang.String name)
- Specified by:
doResolveClass
in class AbstractScope
doSetVar
public void doSetVar(java.lang.String name,
java.lang.Object val)
throws EvalException
- Specified by:
doSetVar
in class AbstractScope
- Throws:
EvalException
doGetMethods
public java.util.Set<AbstractMethod> doGetMethods()
- Specified by:
doGetMethods
in class AbstractScope