public class PostscriptParser.PSVariable extends PostscriptParser.PSElement
binaryEntries, endPoint, hasMore, operator, readBinary, tokens
Constructor and Description |
---|
PSVariable(String operator,
int startPoint) |
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Gets the value of the Postscript variable
|
void |
parseByte(byte cur,
int pos)
Passes responsibility for processing the byte stream to the PostScript object
|
void |
parseToken(String token,
int curPos)
Delegates the parse routine to a sub class
|
void |
setEndPoint(int endPoint)
Sets the end point location of the current Postscript variable.
|
void |
setValue(String value)
Sets the value of the Postscript variable value
|
getBinaryEntries, getBinaryEntryByIndex, getEndPoint, getFoundUnexpected, getOperator, getStartPoint, hasMore, isInteger, parse, setFoundUnexpected
public PSVariable(String operator, int startPoint)
public void parseToken(String token, int curPos)
PostscriptParser.PSElement
parseToken
in class PostscriptParser.PSElement
token
- The token which to parsepublic void parseByte(byte cur, int pos)
PostscriptParser.PSElement
parseByte
in class PostscriptParser.PSElement
cur
- The byte currently being readpos
- The position of the given bytepublic void setValue(String value)
value
- The value to setpublic String getValue()
public void setEndPoint(int endPoint)
endPoint
- The end point location as an integerCopyright © 2025 Apache Software Foundation. All rights reserved.