FreeHEP API
Version current

org.freehep.postscript
Class PSName

java.lang.Object
  extended byorg.freehep.postscript.PSObject
      extended byorg.freehep.postscript.PSSimple
          extended byorg.freehep.postscript.PSName
All Implemented Interfaces:
Cloneable

public class PSName
extends PSSimple

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

Version:
$Id: PSName.java,v 1.4 2004/01/12 20:19:15 duns Exp $
Author:
Mark Donszelmann
Source Code:
PSName.java

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

Constructor Detail

PSName

public PSName(String name)

PSName

public PSName(String name,
              boolean literal)
Method Detail

execute

public boolean execute(OperandStack os)
Specified by:
execute in class PSObject

size

public int size()

getType

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

getValue

public String getValue()

clone

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

equals

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

hashCode

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

cvs

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

toString

public String toString()
Overrides:
toString in class PSObject

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.