org.apache.fop.pdf
Class PDFDictionary
- PDFWritable
public class PDFDictionary
Class representing a PDF dictionary object
protected Map | entries - the entry map
|
protected List | order - maintains the order of the entries added to the entry map.
|
Object | get(String name) - Returns the value given a name.
|
void | put(String name, Object value) - Puts a new name/value pair.
|
String | toPDFString()
|
encode , encodeString , encodeText , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , hasObjectNumber , makeReference , output , referencePDF , setDocument , setObjectNumber , toInlinePDFString , toPDF , toPDFString |
entries
protected Map entries
the entry map
order
protected List order
maintains the order of the entries added to the entry map. Whenever you modify
"entries", always make sure you adjust this list accordingly.
PDFDictionary
public PDFDictionary()
Create the dictionary object
get
public Object get(String name)
Returns the value given a name.
name
- the name of the value
- the value or null, if there's no value with the given name.
put
public void put(String name,
Object value)
Puts a new name/value pair.
name
- the namevalue
- the value
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.