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 StringgetAnnotationName()double[]getColor()StringgetContents()List<String>getErrors()Set<String>getFormXObjectsResources()StringgetId()StringgetModifiedDate()StringgetPopupId()double[]getRectangle()StringgetSubtype()booleanisHidden()booleanisInvisible()booleanisLocked()booleanisLockedContents()booleanisNoRotate()booleanisNoView()booleanisNoZoom()booleanisPDFObjectPresent()booleanisPrinted()booleanisReadOnly()booleanisToggleNoView()
-
-
-
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:
getIdin interfaceAnnotationFeaturesObjectAdapter
-
getPopupId
public String getPopupId()
- Specified by:
getPopupIdin interfaceAnnotationFeaturesObjectAdapter
-
getFormXObjectsResources
public Set<String> getFormXObjectsResources()
- Specified by:
getFormXObjectsResourcesin interfaceAnnotationFeaturesObjectAdapter
-
getSubtype
public String getSubtype()
- Specified by:
getSubtypein interfaceAnnotationFeaturesObjectAdapter
-
getRectangle
public double[] getRectangle()
- Specified by:
getRectanglein interfaceAnnotationFeaturesObjectAdapter
-
getContents
public String getContents()
- Specified by:
getContentsin interfaceAnnotationFeaturesObjectAdapter
-
getAnnotationName
public String getAnnotationName()
- Specified by:
getAnnotationNamein interfaceAnnotationFeaturesObjectAdapter
-
getModifiedDate
public String getModifiedDate()
- Specified by:
getModifiedDatein interfaceAnnotationFeaturesObjectAdapter
-
getColor
public double[] getColor()
- Specified by:
getColorin interfaceAnnotationFeaturesObjectAdapter
-
isInvisible
public boolean isInvisible()
- Specified by:
isInvisiblein interfaceAnnotationFeaturesObjectAdapter
-
isHidden
public boolean isHidden()
- Specified by:
isHiddenin interfaceAnnotationFeaturesObjectAdapter
-
isPrinted
public boolean isPrinted()
- Specified by:
isPrintedin interfaceAnnotationFeaturesObjectAdapter
-
isNoZoom
public boolean isNoZoom()
- Specified by:
isNoZoomin interfaceAnnotationFeaturesObjectAdapter
-
isNoRotate
public boolean isNoRotate()
- Specified by:
isNoRotatein interfaceAnnotationFeaturesObjectAdapter
-
isNoView
public boolean isNoView()
- Specified by:
isNoViewin interfaceAnnotationFeaturesObjectAdapter
-
isReadOnly
public boolean isReadOnly()
- Specified by:
isReadOnlyin interfaceAnnotationFeaturesObjectAdapter
-
isLocked
public boolean isLocked()
- Specified by:
isLockedin interfaceAnnotationFeaturesObjectAdapter
-
isToggleNoView
public boolean isToggleNoView()
- Specified by:
isToggleNoViewin interfaceAnnotationFeaturesObjectAdapter
-
isLockedContents
public boolean isLockedContents()
- Specified by:
isLockedContentsin interfaceAnnotationFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresentin interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrorsin interfaceFeaturesObjectAdapter
-
-