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
public class PostscriptParser.PSDictionary
- extends PostscriptParser.PSElement
An object representing a Postscript dictionary
Method Summary |
java.util.HashMap<java.lang.String,java.lang.String> |
getEntries()
Gets a map of dictionary entries identified by their name |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
binaryLength
protected int binaryLength
PostscriptParser.PSDictionary
public PostscriptParser.PSDictionary(java.lang.String operator,
int startPoint)
parseToken
public void parseToken(java.lang.String token,
int curPos)
- Description copied from class:
PostscriptParser.PSElement
- Delegates the parse routine to a sub class
- Specified by:
parseToken
in class PostscriptParser.PSElement
- Parameters:
token
- The token which to parse
getEntries
public java.util.HashMap<java.lang.String,java.lang.String> 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.PSElement
- Passes responsibility for processing the byte stream to the PostScript object
- Specified by:
parseByte
in class PostscriptParser.PSElement
- Parameters:
cur
- The byte currently being readpos
- The position of the given byte
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.