java.io.Serializable
public class PdfCollectionItem extends PdfDictionary
Constructor | Description |
---|---|
PdfCollectionItem(PdfCollectionSchema schema) |
Constructs a Collection Item that can be added to a PdfFileSpecification.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addItem(java.lang.String key,
double d) |
Sets the value of the collection item.
|
void |
addItem(java.lang.String key,
float f) |
Sets the value of the collection item.
|
void |
addItem(java.lang.String key,
int i) |
Sets the value of the collection item.
|
void |
addItem(java.lang.String key,
PdfDate d) |
Sets the value of the collection item.
|
void |
addItem(java.lang.String key,
PdfNumber n) |
Sets the value of the collection item.
|
void |
addItem(java.lang.String key,
PdfString value) |
Sets the value of the collection item.
|
void |
addItem(java.lang.String key,
java.lang.String value) |
Sets the value of the collection item.
|
void |
addItem(java.lang.String key,
java.util.Calendar c) |
Sets the value of the collection item.
|
void |
setPrefix(java.lang.String key,
java.lang.String prefix) |
Adds a prefix for the Collection item.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public PdfCollectionItem(PdfCollectionSchema schema)
public void addItem(java.lang.String key, java.lang.String value)
value
- public void addItem(java.lang.String key, PdfString value)
value
- public void addItem(java.lang.String key, PdfDate d)
d
- public void addItem(java.lang.String key, PdfNumber n)
n
- public void addItem(java.lang.String key, java.util.Calendar c)
c
- public void addItem(java.lang.String key, int i)
i
- public void addItem(java.lang.String key, float f)
f
- public void addItem(java.lang.String key, double d)
d
- public void setPrefix(java.lang.String key, java.lang.String prefix)
prefix
- a prefixCopyright © 1998–2018. All rights reserved.