org.freehep.postscript.stacks
Class DictionaryStack

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

public class DictionaryStack
extends PostScriptStack
implements NameLookup

OperandStack for PostScript Processor

Author:
Mark Donszelmann
See Also:
Serialized Form

Field Summary
static PSName isoLatin1Encoding
           
static PSName standardEncoding
           
static PSName symbolEncoding
           
static PSName zapfDingbatsEncoding
           
 
Fields inherited from class org.freehep.postscript.stacks.PostScriptStack
log, 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.stacks.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
 

Field Detail

standardEncoding

public static final PSName standardEncoding

isoLatin1Encoding

public static final PSName isoLatin1Encoding

symbolEncoding

public static final PSName symbolEncoding

zapfDingbatsEncoding

public static final PSName zapfDingbatsEncoding
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<Object>
Specified by:
clear in interface List<Object>
Overrides:
clear in class Vector<Object>

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<Object>


Copyright © 2001-2009 FreeHEP. All Rights Reserved.