org.foray.ps
Class PsObjectComposite

java.lang.Object
  extended by org.foray.ps.PsObjectComposite
All Implemented Interfaces:
PsObject
Direct Known Subclasses:
PsArray, PsArrayExecuting, PsDictionary, PsFile, PsGraphicsState, PsString

public abstract class PsObjectComposite
extends Object
implements PsObject

A PostScript composite object.


Constructor Summary
PsObjectComposite()
           
 
Method Summary
 PsAccess getAccess()
          Returns the access settings on this object.
 void setAccess(PsInterpreter4a interpreter, PsAccess accessLevel)
          Sets the access level for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.foray.ps.PsObject
duplicate, getTypeName, isComparable, isComposite, isExecutable
 

Constructor Detail

PsObjectComposite

public PsObjectComposite()
Method Detail

setAccess

public void setAccess(PsInterpreter4a interpreter,
                      PsAccess accessLevel)
               throws PsInterpreterException4a
Sets the access level for this object.

Parameters:
interpreter - The parent interpreter.
accessLevel - The new access level.
Throws:
PsInterpreterException4a - If a PostScript typecheck error is thrown because the access level cannot be changed on this object.

getAccess

public PsAccess getAccess()
Returns the access settings on this object.

Returns:
The access settings on this object.


Copyright © 2017. All rights reserved.