final class PDFieldFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
FIELD_TYPE_BUTTON |
private static java.lang.String |
FIELD_TYPE_CHOICE |
private static java.lang.String |
FIELD_TYPE_SIGNATURE |
private static java.lang.String |
FIELD_TYPE_TEXT |
Modifier | Constructor and Description |
---|---|
private |
PDFieldFactory() |
Modifier and Type | Method and Description |
---|---|
private static PDField |
createButtonSubType(PDAcroForm form,
COSDictionary field,
PDNonTerminalField parent) |
private static PDField |
createChoiceSubType(PDAcroForm form,
COSDictionary field,
PDNonTerminalField parent) |
(package private) static PDField |
createField(PDAcroForm form,
COSDictionary field,
PDNonTerminalField parent)
Creates a COSField subclass from the given field.
|
private static java.lang.String |
findFieldType(COSDictionary dic) |
private static final java.lang.String FIELD_TYPE_TEXT
private static final java.lang.String FIELD_TYPE_BUTTON
private static final java.lang.String FIELD_TYPE_CHOICE
private static final java.lang.String FIELD_TYPE_SIGNATURE
static PDField createField(PDAcroForm form, COSDictionary field, PDNonTerminalField parent)
form
- the form that the field is part offield
- the dictionary representing a field elementparent
- the parent node of the node to be createdprivate static PDField createChoiceSubType(PDAcroForm form, COSDictionary field, PDNonTerminalField parent)
private static PDField createButtonSubType(PDAcroForm form, COSDictionary field, PDNonTerminalField parent)
private static java.lang.String findFieldType(COSDictionary dic)