public class PostscriptParser.PSVariable extends PostscriptParser.PSElement
binaryEntries, endPoint, hasMore, operator, readBinary, tokens
Constructor and Description |
---|
PSVariable(java.lang.String operator,
int startPoint) |
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.lang.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(java.lang.String value)
Sets the value of the Postscript variable value
|
getBinaryEntries, getBinaryEntryByIndex, getEndPoint, getFoundUnexpected, getOperator, getStartPoint, hasMore, isInteger, parse, setFoundUnexpected
public void parseToken(java.lang.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(java.lang.String value)
value
- The value to setpublic java.lang.String getValue()
public void setEndPoint(int endPoint)
endPoint
- The end point location as an integerCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.