Package org.verapdf.features.gf.objects
Class GFAnnotationFeaturesObjectAdapter
- java.lang.Object
-
- org.verapdf.features.gf.objects.GFAnnotationFeaturesObjectAdapter
-
- All Implemented Interfaces:
AnnotationFeaturesObjectAdapter
,FeaturesObjectAdapter
public class GFAnnotationFeaturesObjectAdapter extends Object implements AnnotationFeaturesObjectAdapter
Feature object adapter for annotation- Author:
- Maksim Bezrukov
-
-
Constructor Summary
Constructors Constructor Description GFAnnotationFeaturesObjectAdapter(PDAnnotation annot, String id, String popupId, Set<String> formXObjects)
Constructs new Annotation Feature Object Adapter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnnotationName()
double[]
getColor()
String
getContents()
List<String>
getErrors()
Set<String>
getFormXObjectsResources()
String
getId()
String
getModifiedDate()
String
getPopupId()
double[]
getRectangle()
String
getSubtype()
boolean
isHidden()
boolean
isInvisible()
boolean
isLocked()
boolean
isLockedContents()
boolean
isNoRotate()
boolean
isNoView()
boolean
isNoZoom()
boolean
isPDFObjectPresent()
boolean
isPrinted()
boolean
isReadOnly()
boolean
isToggleNoView()
-
-
-
Constructor Detail
-
GFAnnotationFeaturesObjectAdapter
public GFAnnotationFeaturesObjectAdapter(PDAnnotation annot, String id, String popupId, Set<String> formXObjects)
Constructs new Annotation Feature Object Adapter- Parameters:
annot
- class represents annotation objectid
- annotation idpopupId
- id of the popup annotationformXObjects
- set of id of the form XObjects which used in appearance stream of this annotation
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceAnnotationFeaturesObjectAdapter
-
getPopupId
public String getPopupId()
- Specified by:
getPopupId
in interfaceAnnotationFeaturesObjectAdapter
-
getFormXObjectsResources
public Set<String> getFormXObjectsResources()
- Specified by:
getFormXObjectsResources
in interfaceAnnotationFeaturesObjectAdapter
-
getSubtype
public String getSubtype()
- Specified by:
getSubtype
in interfaceAnnotationFeaturesObjectAdapter
-
getRectangle
public double[] getRectangle()
- Specified by:
getRectangle
in interfaceAnnotationFeaturesObjectAdapter
-
getContents
public String getContents()
- Specified by:
getContents
in interfaceAnnotationFeaturesObjectAdapter
-
getAnnotationName
public String getAnnotationName()
- Specified by:
getAnnotationName
in interfaceAnnotationFeaturesObjectAdapter
-
getModifiedDate
public String getModifiedDate()
- Specified by:
getModifiedDate
in interfaceAnnotationFeaturesObjectAdapter
-
getColor
public double[] getColor()
- Specified by:
getColor
in interfaceAnnotationFeaturesObjectAdapter
-
isInvisible
public boolean isInvisible()
- Specified by:
isInvisible
in interfaceAnnotationFeaturesObjectAdapter
-
isHidden
public boolean isHidden()
- Specified by:
isHidden
in interfaceAnnotationFeaturesObjectAdapter
-
isPrinted
public boolean isPrinted()
- Specified by:
isPrinted
in interfaceAnnotationFeaturesObjectAdapter
-
isNoZoom
public boolean isNoZoom()
- Specified by:
isNoZoom
in interfaceAnnotationFeaturesObjectAdapter
-
isNoRotate
public boolean isNoRotate()
- Specified by:
isNoRotate
in interfaceAnnotationFeaturesObjectAdapter
-
isNoView
public boolean isNoView()
- Specified by:
isNoView
in interfaceAnnotationFeaturesObjectAdapter
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnly
in interfaceAnnotationFeaturesObjectAdapter
-
isLocked
public boolean isLocked()
- Specified by:
isLocked
in interfaceAnnotationFeaturesObjectAdapter
-
isToggleNoView
public boolean isToggleNoView()
- Specified by:
isToggleNoView
in interfaceAnnotationFeaturesObjectAdapter
-
isLockedContents
public boolean isLockedContents()
- Specified by:
isLockedContents
in interfaceAnnotationFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresent
in interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrors
in interfaceFeaturesObjectAdapter
-
-