Package com.itextpdf.text.pdf.collection
Class PdfCollectionItem
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.collection.PdfCollectionItem
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) PdfCollectionSchema
The PdfCollectionSchema with the names and types of the items. -
Constructor Summary
ConstructorsConstructorDescriptionPdfCollectionItem
(PdfCollectionSchema schema) Constructs a Collection Item that can be added to a PdfFileSpecification. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets the value of the collection item.void
Sets the value of the collection item.void
Sets the value of the collection item.void
Sets the value of the collection item.void
Sets the value of the collection item.void
Sets the value of the collection item.void
Sets the value of the collection item.void
Sets the value of the collection item.void
Adds a prefix for the Collection item.Methods inherited from class com.itextpdf.text.pdf.PdfDictionary
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
Methods inherited from class com.itextpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
schema
PdfCollectionSchema schemaThe PdfCollectionSchema with the names and types of the items.
-
-
Constructor Details
-
PdfCollectionItem
Constructs a Collection Item that can be added to a PdfFileSpecification.
-
-
Method Details
-
addItem
Sets the value of the collection item.- Parameters:
value
-
-
addItem
Sets the value of the collection item.- Parameters:
value
-
-
addItem
Sets the value of the collection item.- Parameters:
d
-
-
addItem
Sets the value of the collection item.- Parameters:
n
-
-
addItem
Sets the value of the collection item.- Parameters:
c
-
-
addItem
Sets the value of the collection item.- Parameters:
i
-
-
addItem
Sets the value of the collection item.- Parameters:
f
-
-
addItem
Sets the value of the collection item.- Parameters:
d
-
-
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 prefix
-