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
  • Constructor Details

    • SymbolTable

      public SymbolTable()
  • Method Details

    • 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()
      Overrides:
      toString in class Object
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception