Class PdfCollectionItem
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfDictionary
org.openpdf.text.pdf.collection.PdfCollectionItem
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) PdfCollectionSchemaThe 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 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 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 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.- Parameters:
schema- the PdfCollectionSchema
-
-
Method Details
-
addItem
-
addItem
-
addItem
-
addItem
-
addItem
-
addItem
Sets the value of the collection item.- Parameters:
key- the keyi- the value
-
addItem
Sets the value of the collection item.- Parameters:
key- the keyf- the value
-
addItem
Sets the value of the collection item.- Parameters:
key- the keyd- the value
-
setPrefix
-