Package org.verapdf.features.gf.objects
Class GFPageFeaturesObjectAdapter
- java.lang.Object
-
- org.verapdf.features.gf.objects.GFPageFeaturesObjectAdapter
-
- All Implemented Interfaces:
FeaturesObjectAdapter,PageFeaturesObjectAdapter
public class GFPageFeaturesObjectAdapter extends Object implements PageFeaturesObjectAdapter
Feature object adapter for page- Author:
- Maksim Bezrukov
-
-
Constructor Summary
Constructors Constructor Description GFPageFeaturesObjectAdapter(PDPage page, String label, String thumb, Set<String> annotsId, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild, int index)Constructs new Page Feature Object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getAnnotsId()double[]getArtBox()double[]getBleedBox()Set<String>getColorSpaceChild()double[]getCropBox()List<String>getErrors()Set<String>getExtGStateChild()Set<String>getFontChild()intgetIndex()StringgetLabel()double[]getMediaBox()InputStreamgetMetadataStream()Set<String>getPatternChild()Set<String>getPropertiesChild()LonggetRotation()DoublegetScaling()Set<String>getShadingChild()StringgetThumb()StringgetTransitionStyle()double[]getTrimBox()Set<String>getXObjectChild()booleanisPDFObjectPresent()
-
-
-
Constructor Detail
-
GFPageFeaturesObjectAdapter
public GFPageFeaturesObjectAdapter(PDPage page, String label, String thumb, Set<String> annotsId, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild, int index)
Constructs new Page Feature Object- Parameters:
page- class represents page objectthumb- thumbnail image idannotsId- set of annotations id which contains in this pageextGStateChild- set of external graphics state id which contains in resource dictionary of this pagecolorSpaceChild- set of ColorSpace id which contains in resource dictionary of this pagepatternChild- set of pattern id which contains in resource dictionary of this pageshadingChild- set of shading id which contains in resource dictionary of this pagexobjectChild- set of XObject id which contains in resource dictionary of this pagefontChild- set of font id which contains in resource dictionary of this pagepropertiesChild- set of properties id which contains in resource dictionary of this pageindex- page index
-
-
Method Detail
-
getThumb
public String getThumb()
- Specified by:
getThumbin interfacePageFeaturesObjectAdapter
-
getAnnotsId
public Set<String> getAnnotsId()
- Specified by:
getAnnotsIdin interfacePageFeaturesObjectAdapter
-
getExtGStateChild
public Set<String> getExtGStateChild()
- Specified by:
getExtGStateChildin interfacePageFeaturesObjectAdapter
-
getColorSpaceChild
public Set<String> getColorSpaceChild()
- Specified by:
getColorSpaceChildin interfacePageFeaturesObjectAdapter
-
getPatternChild
public Set<String> getPatternChild()
- Specified by:
getPatternChildin interfacePageFeaturesObjectAdapter
-
getShadingChild
public Set<String> getShadingChild()
- Specified by:
getShadingChildin interfacePageFeaturesObjectAdapter
-
getXObjectChild
public Set<String> getXObjectChild()
- Specified by:
getXObjectChildin interfacePageFeaturesObjectAdapter
-
getFontChild
public Set<String> getFontChild()
- Specified by:
getFontChildin interfacePageFeaturesObjectAdapter
-
getPropertiesChild
public Set<String> getPropertiesChild()
- Specified by:
getPropertiesChildin interfacePageFeaturesObjectAdapter
-
getIndex
public int getIndex()
- Specified by:
getIndexin interfacePageFeaturesObjectAdapter
-
getLabel
public String getLabel()
- Specified by:
getLabelin interfacePageFeaturesObjectAdapter
-
getTransitionStyle
public String getTransitionStyle()
- Specified by:
getTransitionStylein interfacePageFeaturesObjectAdapter
-
getMediaBox
public double[] getMediaBox()
- Specified by:
getMediaBoxin interfacePageFeaturesObjectAdapter
-
getCropBox
public double[] getCropBox()
- Specified by:
getCropBoxin interfacePageFeaturesObjectAdapter
-
getTrimBox
public double[] getTrimBox()
- Specified by:
getTrimBoxin interfacePageFeaturesObjectAdapter
-
getBleedBox
public double[] getBleedBox()
- Specified by:
getBleedBoxin interfacePageFeaturesObjectAdapter
-
getArtBox
public double[] getArtBox()
- Specified by:
getArtBoxin interfacePageFeaturesObjectAdapter
-
getRotation
public Long getRotation()
- Specified by:
getRotationin interfacePageFeaturesObjectAdapter
-
getScaling
public Double getScaling()
- Specified by:
getScalingin interfacePageFeaturesObjectAdapter
-
getMetadataStream
public InputStream getMetadataStream()
- Specified by:
getMetadataStreamin interfacePageFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresentin interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrorsin interfaceFeaturesObjectAdapter
-
-