public class PjEncoding extends PjDictionary
_h| Constructor and Description |
|---|
PjEncoding()
Creates a new encoding dictionary.
|
PjEncoding(java.util.Hashtable h)
Creates an encoding dictionary as a wrapper around a Hashtable.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Returns a deep copy of this object.
|
PjObject |
getBaseEncoding() |
PjObject |
getDifferences() |
static boolean |
isLike(PjDictionary dictionary)
Examines a dictionary to see if it is a PDF font encoding
dictionary.
|
void |
setBaseEncoding(PjName baseEncoding) |
void |
setBaseEncoding(PjReference baseEncoding) |
void |
setDifferences(PjArray differences) |
void |
setDifferences(PjReference differences) |
cloneHt, getHashtable, hget, hgetReference, renumber, writePdfpublic PjEncoding()
public PjEncoding(java.util.Hashtable h)
h - the Hashtable to use for this dictionary.public void setBaseEncoding(PjName baseEncoding)
public void setBaseEncoding(PjReference baseEncoding)
public PjObject getBaseEncoding() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setDifferences(PjArray differences)
public void setDifferences(PjReference differences)
public PjObject getDifferences() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic static boolean isLike(PjDictionary dictionary)
dictionary - the dictionary to examine.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class PjDictionaryjava.lang.CloneNotSupportedException - if the instance can not be cloned.