|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFDictionary
public class PDFDictionary
Class representing a PDF dictionary object
Field Summary | |
---|---|
protected java.util.Map |
entries
the entry map |
protected java.util.List |
order
maintains the order of the entries added to the entry map. |
Fields inherited from class org.apache.fop.pdf.PDFObject |
---|
DATE_FORMAT, log |
Constructor Summary | |
---|---|
PDFDictionary()
Create the dictionary object |
Method Summary | |
---|---|
java.lang.Object |
get(java.lang.String name)
Returns the value given a name. |
void |
put(java.lang.String name,
java.lang.Object value)
Puts a new name/value pair. |
java.lang.String |
toPDFString()
This method returns a String representation of the PDF object. |
Methods inherited from class org.apache.fop.pdf.PDFObject |
---|
encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map entries
protected java.util.List order
Constructor Detail |
---|
public PDFDictionary()
Method Detail |
---|
public void put(java.lang.String name, java.lang.Object value)
name
- the namevalue
- the valuepublic java.lang.Object get(java.lang.String name)
name
- the name of the value
public java.lang.String toPDFString()
PDFObject
toPDFString
in class PDFObject
PDFObject.toPDFString()
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |