01: package com.lowagie.text.pdf.collection;
02:
03: import com.lowagie.text.pdf.PdfDictionary;
04: import com.lowagie.text.pdf.PdfName;
05:
06: public class PdfCollectionSchema extends PdfDictionary {
07: /**
08: * Creates a Collection Schema dictionary.
09: */
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 name, PdfCollectionField field) {
20: put(new PdfName(name), field);
21: }
22: }
|