Package com.itextpdf.forms.fields
Class FormFieldBuilder<T extends FormFieldBuilder<T>>
java.lang.Object
com.itextpdf.forms.fields.FormFieldBuilder<T>
- Type Parameters:
T
- specific form field builder which extends this class.
- Direct Known Subclasses:
NonTerminalFormFieldBuilder
,TerminalFormFieldBuilder
Builder for form field.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IConformanceLevel
Conformance level of the form field.private final PdfDocument
Document to be used for form field creation.private final String
Name of the form field. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
FormFieldBuilder
(PdfDocument document, String formFieldName) Creates builder forPdfFormField
creation. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets document to be used for form field creation.Gets name of the form field.Deprecated.since 8.0.4 will be renamed to getConformanceLevel()protected abstract T
getThis()
Returns this builder object.setConformanceLevel
(PdfAConformanceLevel conformanceLevel) Deprecated.since 8.0.4 conformance level param will change toIConformanceLevel
setGenericConformanceLevel
(IConformanceLevel conformanceLevel) Deprecated.since 8.0.4 will be renamed to setConformanceLevel
-
Field Details
-
document
Document to be used for form field creation. -
formFieldName
Name of the form field. -
conformanceLevel
Conformance level of the form field.
-
-
Constructor Details
-
FormFieldBuilder
Creates builder forPdfFormField
creation.- Parameters:
document
- document to be used for form field creationformFieldName
- name of the form field
-
-
Method Details
-
getDocument
Gets document to be used for form field creation.- Returns:
PdfDocument
instance
-
getFormFieldName
Gets name of the form field.- Returns:
- name to be used for form field creation
-
getConformanceLevel
Deprecated.since 8.0.4 will returnIConformanceLevel
in next major releaseGets conformance level for form field creation.- Returns:
- instance of
PdfAConformanceLevel
to be used for form field creation
-
getGenericConformanceLevel
Deprecated.since 8.0.4 will be renamed to getConformanceLevel()Gets conformance level for form field creation.- Returns:
- instance of
IConformanceLevel
to be used for form field creation
-
setConformanceLevel
Deprecated.since 8.0.4 conformance level param will change toIConformanceLevel
Sets conformance level for form field creation.- Parameters:
conformanceLevel
- instance ofPdfAConformanceLevel
to be used for form field creation- Returns:
- this builder
-
setGenericConformanceLevel
Deprecated.since 8.0.4 will be renamed to setConformanceLevelSets conformance level for form field creation.- Parameters:
conformanceLevel
- Instance ofIConformanceLevel
to be used for form field creation.- Returns:
- This builder.
-
getThis
Returns this builder object. Required for superclass methods.- Returns:
- this builder
-
IConformanceLevel
in next major release