java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.collection.PdfCollectionItem
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPdfCollectionItem(PdfCollectionSchema schema) Constructs a Collection Item that can be added to a PdfFileSpecification. -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the value of the collection item.voidSets the value of the collection item.voidSets the value of the collection item.voidSets the value of the collection item.voidSets the value of the collection item.voidSets the value of the collection item.voidSets the value of the collection item.voidSets the value of the collection item.voidAdds a prefix for the Collection item.Methods inherited from class com.lowagie.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Constructor Details
-
PdfCollectionItem
Constructs a Collection Item that can be added to a PdfFileSpecification.- Parameters:
schema- the PdfCollectionSchema
-
-
Method Details
-
addItem
Sets the value of the collection item.- Parameters:
value- the value (a String)key- the key
-
addItem
Sets the value of the collection item.- Parameters:
value- the value (a PdfString)key- the key
-
addItem
Sets the value of the collection item.- Parameters:
d- the value (a PdfDate)key- the key
-
addItem
Sets the value of the collection item.- Parameters:
n- the value (a PdfNumber)key- the key
-
addItem
Sets the value of the collection item.- Parameters:
c- the value (a Calendar)key- the key
-
addItem
Sets the value of the collection item.- Parameters:
i- the valuekey- the key
-
addItem
Sets the value of the collection item.- Parameters:
f- the valuekey- the key
-
addItem
Sets the value of the collection item.- Parameters:
d- the valuekey- the key
-
setPrefix
Adds a prefix for the Collection item. You can only use this method after you have set the value of the item.- Parameters:
prefix- a prefixkey- the key
-