Package com.itextpdf.forms.xfdf
Class FieldsObject
- java.lang.Object
-
- com.itextpdf.forms.xfdf.FieldsObject
-
public class FieldsObject extends java.lang.Object
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 Modifier and Type Field Description private java.util.List<FieldObject>
fieldList
Represents a list of children fields
-
Constructor Summary
Constructors Constructor Description FieldsObject()
Creates an instance ofFieldsObject
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldsObject
addField(FieldObject field)
Adds a new field to the list.java.util.List<FieldObject>
getFieldList()
Gets a list of children fields
-
-
-
Field Detail
-
fieldList
private java.util.List<FieldObject> fieldList
Represents a list of children fields
-
-
Constructor Detail
-
FieldsObject
public FieldsObject()
Creates an instance ofFieldsObject
.
-
-
Method Detail
-
getFieldList
public java.util.List<FieldObject> getFieldList()
Gets a list of children fields- Returns:
List
containing all childrenfield objects
-
addField
public FieldsObject addField(FieldObject field)
Adds a new field to the list.- Parameters:
field
- FieldObject containing the info about the form field- Returns:
- current
fields object
-
-