com.bea.xml.stream.util
Class SymbolTable
java.lang.Object
com.bea.xml.stream.util.SymbolTable
public class SymbolTable
extends java.lang.Object
Maintains a table for namespace scope
values = map from strings to stacks
[a]->[value1,0],[value2,0]
table = a stack of bindings
SymbolTable
public SymbolTable()
closeScope
public void closeScope()
get
public String get(String name)
getAll
public Set getAll(String name)
getDepth
public int getDepth()
main
public static void main(args[] )
throws Exception
openScope
public void openScope()
put
public void put(String name,
String value)
toString
public String toString()
withinElement
public boolean withinElement()