Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » collection » [javadoc | source]
com.lowagie.text.pdf.collection
public class: PdfCollectionItem [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.PdfObject
      com.lowagie.text.pdf.PdfDictionary
         com.lowagie.text.pdf.collection.PdfCollectionItem
Field Summary
 PdfCollectionSchema schema    The PdfCollectionSchema with the names and types of the items. 
Fields inherited from com.lowagie.text.pdf.PdfDictionary:
FONT,  OUTLINES,  PAGE,  PAGES,  CATALOG,  hashMap
Fields inherited from com.lowagie.text.pdf.PdfObject:
BOOLEAN,  NUMBER,  STRING,  NAME,  ARRAY,  DICTIONARY,  STREAM,  NULL,  INDIRECT,  NOTHING,  TEXT_PDFDOCENCODING,  TEXT_UNICODE,  bytes,  type,  indRef
Constructor:
 public PdfCollectionItem(PdfCollectionSchema schema) 
    Constructs a Collection Item that can be added to a PdfFileSpecification.
Method from com.lowagie.text.pdf.collection.PdfCollectionItem Summary:
addItem,   addItem,   addItem,   addItem,   addItem,   addItem,   addItem,   addItem,   setPrefix
Methods from com.lowagie.text.pdf.PdfDictionary:
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 from com.lowagie.text.pdf.PdfObject:
canBeInObjStm,   getBytes,   getIndRef,   isArray,   isBoolean,   isDictionary,   isIndirect,   isName,   isNull,   isNumber,   isStream,   isString,   length,   setContent,   setIndRef,   toPdf,   toString,   type
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.collection.PdfCollectionItem Detail:
 public  void addItem(String key,
    String value) 
    Sets the value of the collection item.
 public  void addItem(String key,
    PdfString value) 
    Sets the value of the collection item.
 public  void addItem(String key,
    PdfDate d) 
    Sets the value of the collection item.
 public  void addItem(String key,
    PdfNumber n) 
    Sets the value of the collection item.
 public  void addItem(String key,
    Calendar c) 
    Sets the value of the collection item.
 public  void addItem(String key,
    int i) 
    Sets the value of the collection item.
 public  void addItem(String key,
    float f) 
    Sets the value of the collection item.
 public  void addItem(String key,
    double d) 
    Sets the value of the collection item.
 public  void setPrefix(String key,
    String prefix) 
    Adds a prefix for the Collection item. You can only use this method after you have set the value of the item.