com.lowagie.text.pdf.codec.postscript
Class PAContext

java.lang.Object
  extended by com.lowagie.text.pdf.codec.postscript.PAContext

public class PAContext
extends java.lang.Object


Field Summary
 java.util.Stack dictionaries
           
 PAEngine engine
           
protected  java.lang.Object lastUnknownIdentifier
           
 java.util.Stack operands
           
 PAPencil pencil
           
(package private)  PAParser poorscript
           
protected  java.util.Random randomNumberGenerator
           
 
Constructor Summary
PAContext(java.awt.Component component)
           
PAContext(java.awt.Graphics2D g, java.awt.Dimension size)
           
PAContext(PAPencil pencil)
           
 
Method Summary
 void collectArray()
           
protected  java.util.HashMap constructGlobalDict()
           
protected  java.util.HashMap constructSystemDict()
           
 void draw(java.io.InputStream inputStream)
           
 java.lang.Object findDictionary(java.lang.Object identifier)
           
 java.lang.Object findIdentifier(java.lang.Object identifier)
           
 java.lang.Object getLastUnknownIdentifier()
           
 java.lang.Object peekOperand()
           
 double[] popNumberOperands(int n)
           
 java.lang.Object[] popOperands(int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pencil

public PAPencil pencil

dictionaries

public java.util.Stack dictionaries

operands

public java.util.Stack operands

engine

public PAEngine engine

poorscript

PAParser poorscript

randomNumberGenerator

protected java.util.Random randomNumberGenerator

lastUnknownIdentifier

protected java.lang.Object lastUnknownIdentifier
Constructor Detail

PAContext

public PAContext(java.awt.Component component)

PAContext

public PAContext(java.awt.Graphics2D g,
                 java.awt.Dimension size)

PAContext

public PAContext(PAPencil pencil)
Method Detail

draw

public void draw(java.io.InputStream inputStream)
          throws PainterException
Throws:
PainterException

getLastUnknownIdentifier

public java.lang.Object getLastUnknownIdentifier()

popNumberOperands

public double[] popNumberOperands(int n)
                           throws PainterException
Throws:
PainterException

popOperands

public java.lang.Object[] popOperands(int n)
                               throws PainterException
Throws:
PainterException

peekOperand

public java.lang.Object peekOperand()
                             throws PainterException
Throws:
PainterException

findIdentifier

public java.lang.Object findIdentifier(java.lang.Object identifier)

findDictionary

public java.lang.Object findDictionary(java.lang.Object identifier)

collectArray

public void collectArray()
                  throws PainterException
Throws:
PainterException

constructGlobalDict

protected java.util.HashMap constructGlobalDict()

constructSystemDict

protected java.util.HashMap constructSystemDict()