com.bea.xml.stream.util
Class SymbolTable
java.lang.Object
com.bea.xml.stream.util.SymbolTable
- public class SymbolTable
- extends 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()
clear
public void clear()
getDepth
public int getDepth()
withinElement
public boolean withinElement()
put
public void put(String name,
String value)
get
public String get(String name)
getAll
public Set getAll(String name)
openScope
public void openScope()
closeScope
public void closeScope()
toString
public String toString()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2004 . All Rights Reserved.