Package org.verapdf.features.gf.objects
Class GFFormXObjectFeaturesObjectAdapter
- java.lang.Object
-
- org.verapdf.features.gf.objects.GFFormXObjectFeaturesObjectAdapter
-
- All Implemented Interfaces:
FeaturesObjectAdapter
,FormXObjectFeaturesObjectAdapter
public class GFFormXObjectFeaturesObjectAdapter extends Object implements FormXObjectFeaturesObjectAdapter
Feature object adapter for form xobjects- Author:
- Maksim Bezrukov
-
-
Constructor Summary
Constructors Constructor Description GFFormXObjectFeaturesObjectAdapter(PDXForm formXObject, String id, String groupColorSpaceChild, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild)
Constructs new form xobject features object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getBBox()
Set<String>
getColorSpaceChild()
List<String>
getErrors()
Set<String>
getExtGStateChild()
Set<String>
getFontChild()
String
getGroupColorSpaceChild()
String
getGroupSubtype()
String
getId()
double[]
getMatrix()
InputStream
getMetadataStream()
Set<String>
getPatternChild()
Set<String>
getPropertiesChild()
Set<String>
getShadingChild()
Long
getStructParents()
Set<String>
getXObjectChild()
boolean
isGroupPresent()
boolean
isPDFObjectPresent()
boolean
isTransparencyGroupIsolated()
boolean
isTransparencyGroupKnockout()
-
-
-
Constructor Detail
-
GFFormXObjectFeaturesObjectAdapter
public GFFormXObjectFeaturesObjectAdapter(PDXForm formXObject, String id, String groupColorSpaceChild, Set<String> extGStateChild, Set<String> colorSpaceChild, Set<String> patternChild, Set<String> shadingChild, Set<String> xobjectChild, Set<String> fontChild, Set<String> propertiesChild)
Constructs new form xobject features object- Parameters:
formXObject
- PDFormXObject which represents form xobject for feature reportid
- id of the objectgroupColorSpaceChild
- id of the group xobject which contains in the given form xobjectextGStateChild
- set of external graphics state id which contains in resource dictionary of this xobjectcolorSpaceChild
- set of ColorSpace id which contains in resource dictionary of this xobjectpatternChild
- set of pattern id which contains in resource dictionary of this xobjectshadingChild
- set of shading id which contains in resource dictionary of this xobjectxobjectChild
- set of XObject id which contains in resource dictionary of this xobjectfontChild
- set of font id which contains in resource dictionary of this patternpropertiesChild
- set of properties id which contains in resource dictionary of this xobject
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceFormXObjectFeaturesObjectAdapter
-
getMetadataStream
public InputStream getMetadataStream()
- Specified by:
getMetadataStream
in interfaceFormXObjectFeaturesObjectAdapter
-
getGroupColorSpaceChild
public String getGroupColorSpaceChild()
- Specified by:
getGroupColorSpaceChild
in interfaceFormXObjectFeaturesObjectAdapter
-
getExtGStateChild
public Set<String> getExtGStateChild()
- Specified by:
getExtGStateChild
in interfaceFormXObjectFeaturesObjectAdapter
-
getColorSpaceChild
public Set<String> getColorSpaceChild()
- Specified by:
getColorSpaceChild
in interfaceFormXObjectFeaturesObjectAdapter
-
getPatternChild
public Set<String> getPatternChild()
- Specified by:
getPatternChild
in interfaceFormXObjectFeaturesObjectAdapter
-
getShadingChild
public Set<String> getShadingChild()
- Specified by:
getShadingChild
in interfaceFormXObjectFeaturesObjectAdapter
-
getXObjectChild
public Set<String> getXObjectChild()
- Specified by:
getXObjectChild
in interfaceFormXObjectFeaturesObjectAdapter
-
getFontChild
public Set<String> getFontChild()
- Specified by:
getFontChild
in interfaceFormXObjectFeaturesObjectAdapter
-
getPropertiesChild
public Set<String> getPropertiesChild()
- Specified by:
getPropertiesChild
in interfaceFormXObjectFeaturesObjectAdapter
-
getBBox
public double[] getBBox()
- Specified by:
getBBox
in interfaceFormXObjectFeaturesObjectAdapter
-
getMatrix
public double[] getMatrix()
- Specified by:
getMatrix
in interfaceFormXObjectFeaturesObjectAdapter
-
isGroupPresent
public boolean isGroupPresent()
- Specified by:
isGroupPresent
in interfaceFormXObjectFeaturesObjectAdapter
-
getGroupSubtype
public String getGroupSubtype()
- Specified by:
getGroupSubtype
in interfaceFormXObjectFeaturesObjectAdapter
-
isTransparencyGroupIsolated
public boolean isTransparencyGroupIsolated()
- Specified by:
isTransparencyGroupIsolated
in interfaceFormXObjectFeaturesObjectAdapter
-
isTransparencyGroupKnockout
public boolean isTransparencyGroupKnockout()
- Specified by:
isTransparencyGroupKnockout
in interfaceFormXObjectFeaturesObjectAdapter
-
getStructParents
public Long getStructParents()
- Specified by:
getStructParents
in interfaceFormXObjectFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresent
in interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrors
in interfaceFeaturesObjectAdapter
-
-