Package org.verapdf.gf.model.impl.sa
Class GFSAAnnotation
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.sa.GFSAAnnotation
-
- All Implemented Interfaces:
Object,SAAnnotation
- Direct Known Subclasses:
GFSALinkAnnotation
public class GFSAAnnotation extends GenericModelObject implements SAAnnotation
- Author:
- Maxim Plushchov
-
-
Field Summary
Fields Modifier and Type Field Description static StringANNOTATION_TYPEstatic StringLINK-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFSAAnnotation(PDAnnotation annot, PDPage page)GFSAAnnotation(PDAnnotation annot, PDPage page, String type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GFSAAnnotationcreateAnnot(PDAnnotation annot, PDPage page)StringgetContents()the value of the /Contents entryLonggetF()annotation flagsBooleangethasLinkValue()true, if text value is linkBooleangetisOutsideCropBox()true, if annotation rectangle is outside page CropBoxStringgettextValue()text located on page in Rect-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Field Detail
-
ANNOTATION_TYPE
public static final String ANNOTATION_TYPE
- See Also:
- Constant Field Values
-
LINK
public static final String LINK
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFSAAnnotation
public GFSAAnnotation(PDAnnotation annot, PDPage page)
-
GFSAAnnotation
public GFSAAnnotation(PDAnnotation annot, PDPage page, String type)
-
-
Method Detail
-
gettextValue
public String gettextValue()
Description copied from interface:SAAnnotationtext located on page in Rect- Specified by:
gettextValuein interfaceSAAnnotation
-
gethasLinkValue
public Boolean gethasLinkValue()
Description copied from interface:SAAnnotationtrue, if text value is link- Specified by:
gethasLinkValuein interfaceSAAnnotation
-
createAnnot
public static GFSAAnnotation createAnnot(PDAnnotation annot, PDPage page)
-
getisOutsideCropBox
public Boolean getisOutsideCropBox()
Description copied from interface:SAAnnotationtrue, if annotation rectangle is outside page CropBox- Specified by:
getisOutsideCropBoxin interfaceSAAnnotation
-
getContents
public String getContents()
Description copied from interface:SAAnnotationthe value of the /Contents entry- Specified by:
getContentsin interfaceSAAnnotation
-
getF
public Long getF()
Description copied from interface:SAAnnotationannotation flags- Specified by:
getFin interfaceSAAnnotation
-
-