rasmus.interpreter
Class NameSpaceAdapter

java.lang.Object
  extended by rasmus.interpreter.NameSpaceAdapter
All Implemented Interfaces:
NameSpace
Direct Known Subclasses:
InheritNameSpace, Interpreter, OverrideNameSpace, Parameters

public class NameSpaceAdapter
extends java.lang.Object
implements NameSpace


Constructor Summary
NameSpaceAdapter()
           
NameSpaceAdapter(NameSpace namespace)
           
 
Method Summary
 void addToCommitStack(Commitable commitable)
           
 void commit()
           
 Variable get(java.lang.String name)
           
 void getAllNames(java.util.Set set)
           
 NameSpace getNameSpace()
           
 void registerAsPrivate(java.lang.String name)
           
protected  void setNameSpace(NameSpace namespace)
           
 void unRegisterAsPrivate(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameSpaceAdapter

public NameSpaceAdapter(NameSpace namespace)

NameSpaceAdapter

public NameSpaceAdapter()
Method Detail

addToCommitStack

public void addToCommitStack(Commitable commitable)
Specified by:
addToCommitStack in interface NameSpace

commit

public void commit()
Specified by:
commit in interface NameSpace

setNameSpace

protected void setNameSpace(NameSpace namespace)

getNameSpace

public NameSpace getNameSpace()

registerAsPrivate

public void registerAsPrivate(java.lang.String name)
Specified by:
registerAsPrivate in interface NameSpace

unRegisterAsPrivate

public void unRegisterAsPrivate(java.lang.String name)
Specified by:
unRegisterAsPrivate in interface NameSpace

get

public Variable get(java.lang.String name)
Specified by:
get in interface NameSpace

getAllNames

public void getAllNames(java.util.Set set)
Specified by:
getAllNames in interface NameSpace