FreeHEP API
Version current

org.freehep.postscript
Class DictionaryStack

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

public class DictionaryStack
extends PostScriptStack
implements NameLookup

OperandStack for PostScript Processor

Version:
$Id: DictionaryStack.java,v 1.4 2004/01/12 20:19:13 duns Exp $
Author:
Mark Donszelmann
See Also:
Serialized Form
Source Code:
DictionaryStack.java

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 List

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()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.