jxl.enshell
Class ObjectScope
java.lang.Object
jxl.enshell.AbstractScope
jxl.enshell.ObjectScope
public class ObjectScope
- 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 |
ObjectScope
public ObjectScope(AbstractScope parent,
java.lang.Object subject)
- Creates a new instance of ObjectScope
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
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object