Package com.itextpdf.forms.xfdf
Class AnnotsObject
- java.lang.Object
-
- com.itextpdf.forms.xfdf.AnnotsObject
-
public class AnnotsObject extends java.lang.Object
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
Fields Modifier and Type Field Description private java.util.List<AnnotObject>
annotsList
Represents a list of children annotations.
-
Constructor Summary
Constructors Constructor Description AnnotsObject()
Creates an instance with the empty list of children annotations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotsObject
addAnnot(AnnotObject annot)
Adds a newAnnotObject
to the list of children annotations.java.util.List<AnnotObject>
getAnnotsList()
Gets children annotations.
-
-
-
Field Detail
-
annotsList
private java.util.List<AnnotObject> annotsList
Represents a list of children annotations.
-
-
Method Detail
-
getAnnotsList
public java.util.List<AnnotObject> getAnnotsList()
Gets children annotations.- Returns:
- a
List
ofAnnotObject
each representing a child annotation of this annots tag.
-
addAnnot
public AnnotsObject addAnnot(AnnotObject annot)
Adds a newAnnotObject
to the list of children annotations.- Parameters:
annot
-AnnotObject
containing info about pdf document annotation.- Returns:
- this
AnnotsObject
instance.
-
-