org.freehep.postscript
Class DictionaryStack

java.lang.Object
  extended by java.util.AbstractCollection
      extended by java.util.AbstractList
          extended by java.util.Vector
              extended by java.util.Stack
                  extended by org.freehep.postscript.PostScriptStack
                      extended by org.freehep.postscript.DictionaryStack
All Implemented Interfaces:
Serializable, Cloneable, Iterable, Collection, List, RandomAccess, NameLookup

public class DictionaryStack
extends PostScriptStack
implements NameLookup

OperandStack for PostScript Processor

Version:
$Id: DictionaryStack.java 8951 2006-09-12 21:44:14Z duns $
Author:
Mark Donszelmann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.freehep.postscript.PostScriptStack
marker
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DictionaryStack()
           
 
Method Summary
 void clear()
           
 PSDictionary currentDictionary()
           
 PSDictionary dollarError()
           
 PSDictionary errorDictionary()
           
 PSDictionary fontDirectory()
           
 PSDictionary get(PSObject key)
           
 PSDictionary globalDictionary()
           
 PSDictionary globalFontDirectory()
           
 PSObject lookup(PSObject key)
           
 Object pop()
           
 PSDictionary popDictionary()
           
 void printStack()
           
 Object push(Object o)
           
 PSDictionary push(PSDictionary d)
           
 PSDictionary systemDictionary()
           
 String toString()
           
 PSDictionary userDictionary()
           
 
Methods inherited from class org.freehep.postscript.PostScriptStack
copyInto, countToMark, mark, peekObject, peekObject, popMark, popObject, push, reset
 
Methods inherited from class java.util.Stack
empty, peek, search
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

DictionaryStack

public DictionaryStack()
Method Detail

push

public Object push(Object o)
Overrides:
push in class PostScriptStack

push

public PSDictionary push(PSDictionary d)

pop

public Object pop()
Overrides:
pop in class PostScriptStack

popDictionary

public PSDictionary popDictionary()

clear

public void clear()
Specified by:
clear in interface Collection
Specified by:
clear in interface List
Overrides:
clear in class Vector

systemDictionary

public PSDictionary systemDictionary()

globalDictionary

public PSDictionary globalDictionary()

userDictionary

public PSDictionary userDictionary()

errorDictionary

public PSDictionary errorDictionary()

dollarError

public PSDictionary dollarError()

currentDictionary

public PSDictionary currentDictionary()

fontDirectory

public PSDictionary fontDirectory()

globalFontDirectory

public PSDictionary globalFontDirectory()

get

public PSDictionary get(PSObject key)

lookup

public PSObject lookup(PSObject key)
Specified by:
lookup in interface NameLookup

printStack

public void printStack()
Overrides:
printStack in class PostScriptStack

toString

public String toString()
Overrides:
toString in class Vector


Copyright © 2000-2006 FreeHEP. All Rights Reserved.