com.bea.xml.stream.util

Class 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

Constructor Summary

SymbolTable()

Method Summary

void
clear()
void
closeScope()
String
get(String name)
Set
getAll(String name)
int
getDepth()
static void
main(args[] )
void
openScope()
void
put(String name, String value)
String
toString()
boolean
withinElement()

Constructor Details

SymbolTable

public SymbolTable()

Method Details

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

openScope

public void openScope()

put

public void put(String name,
                String value)

toString

public String toString()

withinElement

public boolean withinElement()