Package org.apache.fop.fonts.type1
Class PostscriptParser.PSFixedArray
java.lang.Object
org.apache.fop.fonts.type1.PostscriptParser.PSElement
org.apache.fop.fonts.type1.PostscriptParser.PSFixedArray
- Enclosing class:
PostscriptParser
An object representing a Postscript array with a fixed number of entries
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
private String
private boolean
private static final String
private String
Fields inherited from class org.apache.fop.fonts.type1.PostscriptParser.PSElement
binaryEntries, endPoint, hasMore, operator, readBinary, tokens
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private boolean
checkForEnd
(String checkToken) Gets a map of array entries identified by indexvoid
parseByte
(byte cur, int pos) Passes responsibility for processing the byte stream to the PostScript objectvoid
parseToken
(String token, int curPos) Delegates the parse routine to a sub classMethods inherited from class org.apache.fop.fonts.type1.PostscriptParser.PSElement
getBinaryEntries, getBinaryEntryByIndex, getEndPoint, getFoundUnexpected, getOperator, getStartPoint, hasMore, isInteger, parse, setFoundUnexpected
-
Field Details
-
entry
-
token
-
finished
private boolean finished -
binaryLength
protected int binaryLength -
entries
-
READ_ONLY
- See Also:
-
-
Constructor Details
-
PSFixedArray
-
-
Method Details
-
parseToken
Description copied from class:PostscriptParser.PSElement
Delegates the parse routine to a sub class- Specified by:
parseToken
in classPostscriptParser.PSElement
- Parameters:
token
- The token which to parse
-
checkForEnd
-
getEntries
Gets a map of array entries identified by index- Returns:
- Returns the map of array entries
-
addEntry
-
parseByte
public void parseByte(byte cur, int pos) Description copied from class:PostscriptParser.PSElement
Passes responsibility for processing the byte stream to the PostScript object- Specified by:
parseByte
in classPostscriptParser.PSElement
- Parameters:
cur
- The byte currently being readpos
- The position of the given byte
-