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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddField
(FieldObject field) Adds a new field to the list.Gets a list of children fields
-
Field Details
-
fieldList
Represents 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
-