org.bee.util
Class NameSpaceImpl

java.lang.Object
  extended by org.bee.util.NameSpaceImpl
All Implemented Interfaces:
Instruction.NameSpace

public class NameSpaceImpl
extends java.lang.Object
implements Instruction.NameSpace


Constructor Summary
NameSpaceImpl()
           
 
Method Summary
 void inScope(InfoHolder<java.lang.String,InfoHolder,java.lang.Object> var)
          Add expression or variable to inscope
 java.util.Iterator<InfoHolder<java.lang.String,InfoHolder,java.lang.Object>> iterator()
          Gives access to name space content < String, InfoHolder, Object > < String, InfoHolder, ScopeType >
 InfoHolder<java.lang.String,InfoHolder,java.lang.Object> lookup(java.lang.String name)
          Lookup for specific variable or expression in scope
 void outScope(InfoHolder<java.lang.String,InfoHolder,java.lang.Object> var)
          Remove expression or variable out of scope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameSpaceImpl

public NameSpaceImpl()
Method Detail

iterator

public java.util.Iterator<InfoHolder<java.lang.String,InfoHolder,java.lang.Object>> iterator()
Description copied from interface: Instruction.NameSpace
Gives access to name space content < String, InfoHolder, Object > < String, InfoHolder, ScopeType >

Specified by:
iterator in interface Instruction.NameSpace

inScope

public void inScope(InfoHolder<java.lang.String,InfoHolder,java.lang.Object> var)
Description copied from interface: Instruction.NameSpace
Add expression or variable to inscope

Specified by:
inScope in interface Instruction.NameSpace

outScope

public void outScope(InfoHolder<java.lang.String,InfoHolder,java.lang.Object> var)
Description copied from interface: Instruction.NameSpace
Remove expression or variable out of scope

Specified by:
outScope in interface Instruction.NameSpace

lookup

public InfoHolder<java.lang.String,InfoHolder,java.lang.Object> lookup(java.lang.String name)
Description copied from interface: Instruction.NameSpace
Lookup for specific variable or expression in scope

Specified by:
lookup in interface Instruction.NameSpace