Package org.verapdf.features.gf.objects
Class GFImageXObjectFeaturesObjectAdapter
- java.lang.Object
-
- org.verapdf.features.gf.objects.GFImageXObjectFeaturesObjectAdapter
-
- All Implemented Interfaces:
FeaturesObjectAdapter,ImageXObjectFeaturesObjectAdapter
public class GFImageXObjectFeaturesObjectAdapter extends Object implements ImageXObjectFeaturesObjectAdapter
Features object for image xobject- Author:
- Maksim Bezrukov
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.verapdf.features.objects.ImageXObjectFeaturesObjectAdapter
ImageXObjectFeaturesObjectAdapter.StreamFilterAdapter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getAlternatesChild()LonggetBitsPerComponent()StringgetColorSpaceChild()List<String>getErrors()List<ImageXObjectFeaturesObjectAdapter.StreamFilterAdapter>getFilterAdapters()List<String>getFilters()LonggetHeight()StringgetID()booleangetImageMask()StringgetMaskChild()InputStreamgetMetadata()InputStreamgetRawStreamData()StringgetSMaskChild()LonggetStructParent()LonggetWidth()booleanisInterpolate()booleanisPDFObjectPresent()
-
-
-
Constructor Detail
-
GFImageXObjectFeaturesObjectAdapter
public GFImageXObjectFeaturesObjectAdapter(PDXImage imageXObject, String id, String colorSpaceChild, String maskChild, String sMaskChild, Set<String> alternatesChild)
Constructs new shading features object- Parameters:
imageXObject- PDXImage which represents image xobject for feature reportid- id of the objectcolorSpaceChild- colorSpace id which contains in this image xobjectmaskChild- image xobject id which contains in this image xobject as it's masksMaskChild- image xobject id which contains in this image xobject as it's smaskalternatesChild- set of image xobject ids which contains in this image xobject as alternates
-
-
Method Detail
-
getID
public String getID()
- Specified by:
getIDin interfaceImageXObjectFeaturesObjectAdapter
-
getWidth
public Long getWidth()
- Specified by:
getWidthin interfaceImageXObjectFeaturesObjectAdapter
-
getHeight
public Long getHeight()
- Specified by:
getHeightin interfaceImageXObjectFeaturesObjectAdapter
-
getColorSpaceChild
public String getColorSpaceChild()
- Specified by:
getColorSpaceChildin interfaceImageXObjectFeaturesObjectAdapter
-
getBitsPerComponent
public Long getBitsPerComponent()
- Specified by:
getBitsPerComponentin interfaceImageXObjectFeaturesObjectAdapter
-
getImageMask
public boolean getImageMask()
- Specified by:
getImageMaskin interfaceImageXObjectFeaturesObjectAdapter
-
getMaskChild
public String getMaskChild()
- Specified by:
getMaskChildin interfaceImageXObjectFeaturesObjectAdapter
-
isInterpolate
public boolean isInterpolate()
- Specified by:
isInterpolatein interfaceImageXObjectFeaturesObjectAdapter
-
getAlternatesChild
public Set<String> getAlternatesChild()
- Specified by:
getAlternatesChildin interfaceImageXObjectFeaturesObjectAdapter
-
getSMaskChild
public String getSMaskChild()
- Specified by:
getSMaskChildin interfaceImageXObjectFeaturesObjectAdapter
-
getStructParent
public Long getStructParent()
- Specified by:
getStructParentin interfaceImageXObjectFeaturesObjectAdapter
-
getFilters
public List<String> getFilters()
- Specified by:
getFiltersin interfaceImageXObjectFeaturesObjectAdapter
-
getMetadata
public InputStream getMetadata()
- Specified by:
getMetadatain interfaceImageXObjectFeaturesObjectAdapter
-
getRawStreamData
public InputStream getRawStreamData()
- Specified by:
getRawStreamDatain interfaceImageXObjectFeaturesObjectAdapter
-
getFilterAdapters
public List<ImageXObjectFeaturesObjectAdapter.StreamFilterAdapter> getFilterAdapters()
- Specified by:
getFilterAdaptersin interfaceImageXObjectFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresentin interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrorsin interfaceFeaturesObjectAdapter
-
-