org.apache.batik.dom.util
Class HashTableStack

java.lang.Object
  extended by org.apache.batik.dom.util.HashTableStack

public class HashTableStack
extends Object

This class represents a stack of HashTable objects.


Nested Class Summary
protected static class HashTableStack.Link
          To store the hashtables.
 
Field Summary
protected  HashTableStack.Link current
          The current link.
 
Constructor Summary
HashTableStack()
          Creates a new HashTableStack object.
 
Method Summary
 String get(String s)
          Gets an item in the table on the top of the stack.
 void pop()
          Removes the table on the top of the stack.
 void push()
          Pushes a new table on the stack.
 String put(String s, String v)
          Creates a mapping in the table on the top of the stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

current

protected HashTableStack.Link current
The current link.

Constructor Detail

HashTableStack

public HashTableStack()
Creates a new HashTableStack object.

Method Detail

push

public void push()
Pushes a new table on the stack.


pop

public void pop()
Removes the table on the top of the stack.


put

public String put(String s,
                  String v)
Creates a mapping in the table on the top of the stack.


get

public String get(String s)
Gets an item in the table on the top of the stack.



Copyright © 2008 Apache Software Foundation. All Rights Reserved.