public class PostscriptParser.PSSubroutine extends PostscriptParser.PSElement
binaryEntries, endPoint, hasMore, operator, readBinary, tokens
Constructor and Description |
---|
PSSubroutine(java.lang.String operator,
int startPoint) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSubroutine()
Gets the parsed subroutine element as unmodified string
|
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
|
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 java.lang.String getSubroutine()
public void parseByte(byte cur, int pos)
PostscriptParser.PSElement
parseByte
in class PostscriptParser.PSElement
cur
- The byte currently being readpos
- The position of the given byteCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.