public class DictionaryObject extends PDFObject
Catalog
and the Outlines
(the latter
being a placeholder implementation only since we don't presently generate
outlines).Modifier and Type | Field and Description |
---|---|
protected Dictionary |
dictionary |
Modifier and Type | Method and Description |
---|---|
byte[] |
getObjectBytes()
Returns the bytes that go between the 'obj' and 'endobj' in the
PDF output for this object.
|
void |
put(java.lang.String name,
java.lang.Object value)
Puts an item in the dictionary.
|
java.lang.Object |
remove(java.lang.String name)
Removes an item from the dictionary.
|
getGeneration, getNumber, getReference, toPDFBytes
protected Dictionary dictionary
public void put(java.lang.String name, java.lang.Object value)
name
- the name (without the leading "/", null
not
permitted).value
- the value (null
not permitted).public java.lang.Object remove(java.lang.String name)
name
- the name (without the leading "/").public byte[] getObjectBytes()
getObjectBytes
in class PDFObject