Module com.github.librepdf.openpdf
Package org.openpdf.text.pdf.collection
Class PdfCollectionSchema
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfDictionary
org.openpdf.text.pdf.collection.PdfCollectionSchema
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddField(String name, PdfCollectionField field) Adds a Collection field to the Schema.Methods inherited from class org.openpdf.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toStringMethods inherited from class org.openpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Constructor Details
-
PdfCollectionSchema
public PdfCollectionSchema()Creates a Collection Schema dictionary.
-
-
Method Details
-
addField
Adds a Collection field to the Schema.- Parameters:
name- the name of the collection fieldfield- a Collection Field
-