com.bea.xml.stream.util

Class 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
Constructor Summary
SymbolTable()
Method Summary
voidclear()
voidcloseScope()
Stringget(String name)
SetgetAll(String name)
intgetDepth()
static voidmain(String[] args)
voidopenScope()
voidput(String name, String value)
StringtoString()
booleanwithinElement()

Constructor Detail

SymbolTable

public SymbolTable()

Method Detail

clear

public void clear()

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(String[] args)

openScope

public void openScope()

put

public void put(String name, String value)

toString

public String toString()

withinElement

public boolean withinElement()