Class PDFieldFactory


  • public final class PDFieldFactory
    extends java.lang.Object
    A PDField factory.
    • Method Detail

      • createField

        public static PDField createField​(PDAcroForm form,
                                          COSDictionary field,
                                          PDNonTerminalField parent)
        Creates a COSField subclass from the given field.
        Parameters:
        form - the form that the field is part of
        field - the dictionary representing a field element
        parent - the parent node of the node to be created
        Returns:
        the corresponding PDField instance