Package org.verapdf.gf.model.impl.cos
Class GFCosFileSpecification
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.cos.GFCosObject
org.verapdf.gf.model.impl.cos.GFCosDict
org.verapdf.gf.model.impl.cos.GFCosFileSpecification
- All Implemented Interfaces:
Object,CosDict,CosFileSpecification,CosObject
- Author:
- Timur Kamalov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringType name for GFCosFileSpecificationstatic final StringFields inherited from class org.verapdf.gf.model.impl.cos.GFCosDict
COS_DICT_TYPE, KEYS, METADATA, VALUESFields inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
baseObject, cosDocument, MAX_NUMBER_OF_ELEMENTSFields inherited from class org.verapdf.model.GenericModelObject
contextDependent -
Constructor Summary
ConstructorsConstructorDescriptionGFCosFileSpecification(COSDictionary dictionary, boolean presentInEmbeddedFiles) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionthe relationship between the component of the PDF document that refers to this file specification and the associated file (/AFRelationship key)true if the file specification dictionary contains Desc keytrue if the file specification dictionary contains EF keygetF()a file specification string (F key)true if the file specification dictionary is associated (=referenced by the /AF key) with at least one of the following objects: catalog, page, XObject, annotation or structure elementgetLinkedObjects(String link) true if the file specification dictionary is present in the EmbeddedFiles name treegetUF()a unicode file specification (UF key)Methods inherited from class org.verapdf.gf.model.impl.cos.GFCosDict
getkeysString, getsizeMethods inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
getFromValueMethods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.verapdf.model.coslayer.CosDict
getkeysString, getsizeMethods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
COS_FILE_SPECIFICATION_TYPE
Type name for GFCosFileSpecification- See Also:
-
EF
- See Also:
-
-
Constructor Details
-
GFCosFileSpecification
Default constructor- Parameters:
dictionary- greenfield COSDictionary
-
-
Method Details
-
getF
Description copied from interface:CosFileSpecificationa file specification string (F key)- Specified by:
getFin interfaceCosFileSpecification
-
getUF
Description copied from interface:CosFileSpecificationa unicode file specification (UF key)- Specified by:
getUFin interfaceCosFileSpecification
-
getAFRelationship
Description copied from interface:CosFileSpecificationthe relationship between the component of the PDF document that refers to this file specification and the associated file (/AFRelationship key)- Specified by:
getAFRelationshipin interfaceCosFileSpecification
-
getisAssociatedFile
Description copied from interface:CosFileSpecificationtrue if the file specification dictionary is associated (=referenced by the /AF key) with at least one of the following objects: catalog, page, XObject, annotation or structure element- Specified by:
getisAssociatedFilein interfaceCosFileSpecification
-
getpresentInEmbeddedFiles
Description copied from interface:CosFileSpecificationtrue if the file specification dictionary is present in the EmbeddedFiles name tree- Specified by:
getpresentInEmbeddedFilesin interfaceCosFileSpecification
-
getcontainsEF
Description copied from interface:CosFileSpecificationtrue if the file specification dictionary contains EF key- Specified by:
getcontainsEFin interfaceCosFileSpecification
-
getcontainsDesc
Description copied from interface:CosFileSpecificationtrue if the file specification dictionary contains Desc key- Specified by:
getcontainsDescin interfaceCosFileSpecification
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGFCosDict- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-