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()StringgetGroupColorSpaceChild()StringgetGroupSubtype()StringgetId()double[]getMatrix()InputStreamgetMetadataStream()Set<String>getPatternChild()Set<String>getPropertiesChild()Set<String>getShadingChild()LonggetStructParents()Set<String>getXObjectChild()booleanisGroupPresent()booleanisPDFObjectPresent()booleanisTransparencyGroupIsolated()booleanisTransparencyGroupKnockout()
-
-
-
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:
getIdin interfaceFormXObjectFeaturesObjectAdapter
-
getMetadataStream
public InputStream getMetadataStream()
- Specified by:
getMetadataStreamin interfaceFormXObjectFeaturesObjectAdapter
-
getGroupColorSpaceChild
public String getGroupColorSpaceChild()
- Specified by:
getGroupColorSpaceChildin interfaceFormXObjectFeaturesObjectAdapter
-
getExtGStateChild
public Set<String> getExtGStateChild()
- Specified by:
getExtGStateChildin interfaceFormXObjectFeaturesObjectAdapter
-
getColorSpaceChild
public Set<String> getColorSpaceChild()
- Specified by:
getColorSpaceChildin interfaceFormXObjectFeaturesObjectAdapter
-
getPatternChild
public Set<String> getPatternChild()
- Specified by:
getPatternChildin interfaceFormXObjectFeaturesObjectAdapter
-
getShadingChild
public Set<String> getShadingChild()
- Specified by:
getShadingChildin interfaceFormXObjectFeaturesObjectAdapter
-
getXObjectChild
public Set<String> getXObjectChild()
- Specified by:
getXObjectChildin interfaceFormXObjectFeaturesObjectAdapter
-
getFontChild
public Set<String> getFontChild()
- Specified by:
getFontChildin interfaceFormXObjectFeaturesObjectAdapter
-
getPropertiesChild
public Set<String> getPropertiesChild()
- Specified by:
getPropertiesChildin interfaceFormXObjectFeaturesObjectAdapter
-
getBBox
public double[] getBBox()
- Specified by:
getBBoxin interfaceFormXObjectFeaturesObjectAdapter
-
getMatrix
public double[] getMatrix()
- Specified by:
getMatrixin interfaceFormXObjectFeaturesObjectAdapter
-
isGroupPresent
public boolean isGroupPresent()
- Specified by:
isGroupPresentin interfaceFormXObjectFeaturesObjectAdapter
-
getGroupSubtype
public String getGroupSubtype()
- Specified by:
getGroupSubtypein interfaceFormXObjectFeaturesObjectAdapter
-
isTransparencyGroupIsolated
public boolean isTransparencyGroupIsolated()
- Specified by:
isTransparencyGroupIsolatedin interfaceFormXObjectFeaturesObjectAdapter
-
isTransparencyGroupKnockout
public boolean isTransparencyGroupKnockout()
- Specified by:
isTransparencyGroupKnockoutin interfaceFormXObjectFeaturesObjectAdapter
-
getStructParents
public Long getStructParents()
- Specified by:
getStructParentsin interfaceFormXObjectFeaturesObjectAdapter
-
isPDFObjectPresent
public boolean isPDFObjectPresent()
- Specified by:
isPDFObjectPresentin interfaceFeaturesObjectAdapter
-
getErrors
public List<String> getErrors()
- Specified by:
getErrorsin interfaceFeaturesObjectAdapter
-
-