Package org.verapdf.parser.postscript
Class PSLiteralObject
java.lang.Object
org.verapdf.cos.COSObject
org.verapdf.parser.postscript.PSObject
org.verapdf.parser.postscript.PSLiteralObject
Class for literal PostScript objects. These objects are just pushed to
operand stack while executed.
- Author:
- Sergey Shemyakov
-
Constructor Summary
-
Method Summary
Methods inherited from class org.verapdf.parser.postscript.PSObject
getPSObject, getPSObject
Methods inherited from class org.verapdf.cos.COSObject
accept, add, assign, at, clear, clearArray, empty, equals, get, getBoolean, getBooleanKey, getData, getData, getDirect, getDirectBase, getDocument, getEmpty, getInteger, getIntegerKey, getKey, getKey, getKeySet, getName, getNameKey, getNameKeyStringValue, getObjectKey, getReal, getRealKey, getRealStreamSize, getString, getStringKey, getType, getValues, insert, isEndOfObjectComplyPDFA, isEndstreamKeywordCRLFCompliant, isHeaderFormatComplyPDFA, isHeaderOfObjectComplyPDFA, isIndirect, isStreamKeywordCRLFCompliant, knownKey, mark, remove, removeKey, set, set, setArray, setArray, setArray, setArrayKey, setArrayKey, setArrayKey, setArrayKey, setBoolean, setBooleanKey, setData, setData, setDirect, setEndstreamKeywordCRLFCompliant, setInteger, setIntegerKey, setIsEndOfObjectComplyPDFA, setIsHeaderFormatComplyPDFA, setIsHeaderOfObjectComplyPDFA, setKey, setKey, setName, setNameKey, setObjectKey, setReal, setRealKey, setRealStreamSize, setStreamKeywordCRLFCompliant, setString, setString, setStringKey, size, toString
-
Constructor Details
-
PSLiteralObject
-
-
Method Details
-
execute
public void execute(Stack<COSObject> operandStack, Map<ASAtom, COSObject> userDict) throws PostScriptExceptionDescription copied from class:PSObject
Executes PostScript object. For literal objects this execution means pushing object to operand stack, for operator and procedure objects execution mean execution of this operator or procedure.- Specified by:
execute
in classPSObject
- Parameters:
operandStack
- is stack for PostScript operands (see PostScript specification for further information).userDict
- is a dictionary that stores all key-value associated pair encountered during PostScript parsing. Full PostScript parser needs a dict stack, our implementation has only one dictionary.- Throws:
PostScriptException
-