public final class PDFieldFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static PDField |
createField(PDAcroForm form,
COSDictionary field,
PDNonTerminalField parent)
Creates a
PDField subclass from the given field. |
static PDField |
createFieldAddingChildToParent(PDAcroForm form,
COSDictionary field,
PDNonTerminalField parent)
Creates and sets it as a child of the given parent
PDNonTerminalField |
public static PDField createFieldAddingChildToParent(PDAcroForm form, COSDictionary field, PDNonTerminalField parent)
PDNonTerminalFieldform - field - parent - public static PDField createField(PDAcroForm form, COSDictionary field, PDNonTerminalField parent)
PDField subclass from the given field.form - the form that the field is part offield - the dictionary representing a field elementparent - the parent node of the node to be createdCopyright © 2020 sejda. All rights reserved.