Package com.itextpdf.forms.xfdf
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.
-
Constructor Summary
ConstructorDescriptionCreates an instance with the empty list of children annotations. -
Method Summary
Modifier and TypeMethodDescriptionaddAnnot
(AnnotObject annot) Adds a newAnnotObject
to the list of children annotations.Gets 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
List
ofAnnotObject
each representing a child annotation of this annots tag.
-
addAnnot
Adds a newAnnotObject
to the list of children annotations.- Parameters:
-
annot
-AnnotObject
containing info about pdf document annotation. - Returns:
-
this
AnnotsObject
instance.
-