KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > lowagie > text > pdf > collection > PdfCollectionSchema


1 package com.lowagie.text.pdf.collection;
2
3 import com.lowagie.text.pdf.PdfDictionary;
4 import com.lowagie.text.pdf.PdfName;
5
6 public class PdfCollectionSchema extends PdfDictionary {
7     /**
8      * Creates a Collection Schema dictionary.
9      */

10     public PdfCollectionSchema() {
11         super(PdfName.COLLECTIONSCHEMA);
12     }
13     
14     /**
15      * Adds a Collection field to the Schema.
16      * @param name the name of the collection field
17      * @param field a Collection Field
18      */

19     public void addField(String JavaDoc name, PdfCollectionField field) {
20         put(new PdfName(name), field);
21     }
22 }
23
Popular Tags