org.freehep.postscript
Class PSOperator

java.lang.Object
  extended by org.freehep.postscript.PSObject
      extended by org.freehep.postscript.PSSimple
          extended by org.freehep.postscript.PSOperator
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
ArithmeticOperator, ArrayOperator, ControlOperator, ConversionOperator, DeviceOperator, DictionaryOperator, ErrorOperator, ExtraOperator, FileOperator, FontOperator, FormOperator, GeneralOperator, GraphicsStateOperator, MatrixOperator, MemoryOperator, MiscellaneousOperator, OutputOperator, PackedArrayOperator, PaintingOperator, PathOperator, RelationalOperator, StackOperator, StringOperator

public abstract class PSOperator
extends PSSimple

Objects for PostScript Processor, as defined in 3.3 Data Types and Objects

Version:
$Id: PSOperator.java 8951 2006-09-12 21:44:14Z duns $
Author:
Mark Donszelmann

Field Summary
protected  Class[] operandTypes
           
 
Fields inherited from class org.freehep.postscript.PSObject
name
 
Constructor Summary
PSOperator()
           
 
Method Summary
 boolean checkAndExecute(OperandStack os)
           
 Object clone()
           
 PSObject copy()
           
 String cvs()
           
 boolean equals(Object o)
           
 String getName()
           
 String getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.freehep.postscript.PSObject
error, execute, isExecutable, isLiteral, setExecutable, setLiteral, setName, toPrint
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

operandTypes

protected Class[] operandTypes
Constructor Detail

PSOperator

public PSOperator()
Method Detail

getName

public String getName()

checkAndExecute

public boolean checkAndExecute(OperandStack os)
Overrides:
checkAndExecute in class PSObject

getType

public String getType()
Specified by:
getType in class PSObject

hashCode

public int hashCode()
Specified by:
hashCode in class PSObject

equals

public boolean equals(Object o)
Specified by:
equals in class PSObject

clone

public Object clone()
Specified by:
clone in class PSObject

copy

public PSObject copy()
Overrides:
copy in class PSSimple

cvs

public String cvs()
Specified by:
cvs in class PSObject

toString

public String toString()
Overrides:
toString in class PSObject


Copyright © 2000-2006 FreeHEP. All Rights Reserved.