public class PdfCollectionItem extends PdfDictionary
| Constructor and Description |
|---|
PdfCollectionItem(PdfCollectionSchema schema)
Constructs a Collection Item that can be added to a PdfFileSpecification.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(String key,
Calendar c)
Sets the value of the collection item.
|
void |
addItem(String key,
double d)
Sets the value of the collection item.
|
void |
addItem(String key,
float f)
Sets the value of the collection item.
|
void |
addItem(String key,
int i)
Sets the value of the collection item.
|
void |
addItem(String key,
PdfDate d)
Sets the value of the collection item.
|
void |
addItem(String key,
PdfNumber n)
Sets the value of the collection item.
|
void |
addItem(String key,
PdfString value)
Sets the value of the collection item.
|
void |
addItem(String key,
String value)
Sets the value of the collection item.
|
void |
setPrefix(String key,
String prefix)
Adds a prefix for the Collection item.
|
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, toStringcanBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, typepublic PdfCollectionItem(PdfCollectionSchema schema)
schema - the PdfCollectionSchemapublic void addItem(String key, String value)
value - the value (a String)key - the keypublic void addItem(String key, PdfString value)
value - the value (a PdfString)key - the keypublic void addItem(String key, PdfDate d)
d - the value (a PdfDate)key - the keypublic void addItem(String key, PdfNumber n)
n - the value (a PdfNumber)key - the keypublic void addItem(String key, Calendar c)
c - the value (a Calendar)key - the keypublic void addItem(String key, int i)
i - the valuekey - the keypublic void addItem(String key, float f)
f - the valuekey - the keypublic void addItem(String key, double d)
d - the valuekey - the keyCopyright © 2024. All rights reserved.