public class PdfCollectionSchema extends PdfObjectWrapper<PdfDictionary>
Constructor and Description |
---|
PdfCollectionSchema()
Creates a Collection Schema dictionary.
|
PdfCollectionSchema(PdfDictionary pdfObject) |
Modifier and Type | Method and Description |
---|---|
PdfCollectionSchema |
addField(String name, PdfCollectionField field)
Adds a Collection field to the Schema.
|
PdfCollectionField |
getField(String name) |
protected boolean |
isWrappedObjectMustBeIndirect()
Defines if the object behind this wrapper must be an indirect object in the resultant document.
|
ensureObjectIsAddedToDocument, ensureUnderlyingObjectHasIndirectReference, flush, getPdfObject, isFlushed, makeIndirect, makeIndirect, markObjectAsIndirect, setForbidRelease, setModified, setPdfObject, unsetForbidRelease
public PdfCollectionSchema(PdfDictionary pdfObject)
public PdfCollectionSchema()
public PdfCollectionSchema addField(String name, PdfCollectionField field)
name
- the name of the collection field
field
- a Collection Field
public PdfCollectionField getField(String name)
protected boolean isWrappedObjectMustBeIndirect()
PdfObjectWrapper
isWrappedObjectMustBeIndirect
in class PdfObjectWrapper<PdfDictionary>
Copyright © 1998–2020 iText Group NV. All rights reserved.