org.freehep.postscript
Class PSObject
java.lang.Object
org.freehep.postscript.PSObject
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- PSComposite, PSSimple
public abstract class PSObject
- extends Object
- implements Cloneable
Objects for PostScript Processor, as defined in 3.3 Data Types and Objects
- Version:
- $Id: PSObject.java 8951 2006-09-12 21:44:14Z duns $
- Author:
- Mark Donszelmann
name
protected String name
PSObject
public PSObject(String name,
boolean literal)
setName
public void setName(String s)
hashCode
public abstract int hashCode()
- Overrides:
hashCode
in class Object
equals
public abstract boolean equals(Object obj)
- Overrides:
equals
in class Object
clone
public abstract Object clone()
- Overrides:
clone
in class Object
copy
public abstract PSObject copy()
getType
public abstract String getType()
execute
public abstract boolean execute(OperandStack os)
checkAndExecute
public boolean checkAndExecute(OperandStack os)
error
public static void error(OperandStack os,
ErrorOperator error)
isLiteral
public boolean isLiteral()
setLiteral
public void setLiteral()
setExecutable
public void setExecutable()
isExecutable
public boolean isExecutable()
cvs
public abstract String cvs()
toString
public String toString()
- Overrides:
toString
in class Object
toPrint
public String toPrint()
Copyright © 2000-2006 FreeHEP. All Rights Reserved.