Package com.itextpdf.forms.xfdf
Class FieldsObject
java.lang.Object
com.itextpdf.forms.xfdf.FieldsObject
Represents the fields element, a child of the xfdf element and is the container for form field elements. Content model: ( field* ). Attributes: none. For more details see paragraph 6.3.1 in Xfdf specification.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddField
(FieldObject field) Adds a new field to the list.Gets a list of children fields
-
Constructor Details
-
FieldsObject
public FieldsObject()Creates an instance ofFieldsObject
.
-
-
Method Details
-
getFieldList
Gets a list of children fields- Returns:
-
List
containing all childrenfield objects
-
addField
Adds a new field to the list.- Parameters:
-
field
- FieldObject containing the info about the form field - Returns:
-
current
fields object
-