Package org.apache.fop.fonts.type1
Class PostscriptParser.PSDictionary
java.lang.Object
org.apache.fop.fonts.type1.PostscriptParser.PSElement
org.apache.fop.fonts.type1.PostscriptParser.PSDictionary
- Enclosing class:
PostscriptParser
An object representing a Postscript dictionary
-
Field Summary
FieldsFields inherited from class org.apache.fop.fonts.type1.PostscriptParser.PSElement
binaryEntries, endPoint, hasMore, operator, readBinary, tokens -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets a map of dictionary entries identified by their namevoidparseByte(byte cur, int pos) Passes responsibility for processing the byte stream to the PostScript objectvoidparseToken(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
-
binaryLength
protected int binaryLength
-
-
Constructor Details
-
PSDictionary
-
-
Method Details
-
parseToken
Description copied from class:PostscriptParser.PSElementDelegates the parse routine to a sub class- Specified by:
parseTokenin classPostscriptParser.PSElement- Parameters:
token- The token which to parse
-
getEntries
Gets a map of dictionary entries identified by their name- Returns:
- Returns the dictionary entries as a map
-
parseByte
public void parseByte(byte cur, int pos) Description copied from class:PostscriptParser.PSElementPasses responsibility for processing the byte stream to the PostScript object- Specified by:
parseBytein classPostscriptParser.PSElement- Parameters:
cur- The byte currently being readpos- The position of the given byte
-