com.lowagie.text.pdf.collection.PdfCollectionSchema Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of itext2 Show documentation
Show all versions of itext2 Show documentation
Itext is a java library to create and manipulate PDFs.
This is a fork of version 2.1.7 the last MPL/LGPL version.
It's focused basically on mantain compatibility with newer bouncycastle releases and small bugfixes.
package com.lowagie.text.pdf.collection;
import com.lowagie.text.pdf.PdfDictionary;
import com.lowagie.text.pdf.PdfName;
public class PdfCollectionSchema extends PdfDictionary {
/**
* Creates a Collection Schema dictionary.
*/
public PdfCollectionSchema() {
super(PdfName.COLLECTIONSCHEMA);
}
/**
* Adds a Collection field to the Schema.
* @param name the name of the collection field
* @param field a Collection Field
*/
public void addField(String name, PdfCollectionField field) {
put(new PdfName(name), field);
}
}