Class AnnotsObject
java.lang.Object
com.itextpdf.forms.xfdf.AnnotsObject
Represent annots tag in xfdf document structure.
Content model: ( text | caret | freetext | fileattachment | highlight | ink | line | link
| circle | square | polygon | polyline | sound | squiggly | stamp |
strikeout | underline )*.
Attributes: none.
For more details see paragraph 6.4.1 in Xfdf specification.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<AnnotObject> Represents a list of children annotations. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance with the empty list of children annotations. -
Method Summary
Modifier and TypeMethodDescriptionaddAnnot(AnnotObject annot) Adds a newAnnotObjectto the list of children annotations.Gets children annotations.
-
Field Details
-
annotsList
Represents a list of children annotations.
-
-
Constructor Details
-
AnnotsObject
public AnnotsObject()Creates an instance with the empty list of children annotations.
-
-
Method Details
-
getAnnotsList
Gets children annotations.- Returns:
- a
ListofAnnotObjecteach representing a child annotation of this annots tag.
-
addAnnot
Adds a newAnnotObjectto the list of children annotations.- Parameters:
annot-AnnotObjectcontaining info about pdf document annotation.- Returns:
- this
AnnotsObjectinstance.
-