org.apache.batik.dom.util

Class HashTableStack

public class HashTableStack extends Object

This class represents a stack of HashTable objects.
Nested Class Summary
protected static classHashTableStack.Link
To store the hashtables.
Field Summary
protected HashTableStack.Linkcurrent
The current link.
Constructor Summary
HashTableStack()
Creates a new HashTableStack object.
Method Summary
Stringget(String s)
Gets an item in the table on the top of the stack.
voidpop()
Removes the table on the top of the stack.
voidpush()
Pushes a new table on the stack.
Stringput(String s, String v)
Creates a mapping in the table on the top of the stack.

Field Detail

current

protected HashTableStack.Link current
The current link.

Constructor Detail

HashTableStack

public HashTableStack()
Creates a new HashTableStack object.

Method Detail

get

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

pop

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

push

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

put

public String put(String s, String v)
Creates a mapping in the table on the top of the stack.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.