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. 
               |  
          
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, toStringcanBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, typepublic PdfCollectionItem(PdfCollectionSchema schema)
public void addItem(String key, String value)
value - 
           public void addItem(String key, PdfString value)
value - 
           public void addItem(String key, PdfDate d)
d - 
           public void addItem(String key, PdfNumber n)
n - 
           public void addItem(String key, Calendar c)
c - 
           public void addItem(String key, int i)
i - 
           public void addItem(String key, float f)
f - 
           public void addItem(String key, double d)
d - 
           Copyright © 1998–2019. All rights reserved.