Package org.verapdf.gf.model.impl.cos
Class GFCosTrailer
- 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.GFCosTrailer
-
- All Implemented Interfaces:
Object,CosDict,CosObject,CosTrailer
public class GFCosTrailer extends GFCosDict implements CosTrailer
- Author:
- Timur Kamalov
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATALOGstatic StringCOS_TRAILER_TYPEType name for GFCosTrailerstatic StringENCRYPTstatic StringINFO-
Fields inherited from class org.verapdf.gf.model.impl.cos.GFCosDict
COS_DICT_TYPE, KEYS, METADATA, VALUES
-
Fields inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
baseObject, cosDocument, MAX_NUMBER_OF_ELEMENTS
-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFCosTrailer(COSDictionary dictionary)Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetisEncrypted()true if the document is encryptedList<? extends Object>getLinkedObjects(String link)-
Methods inherited from class org.verapdf.gf.model.impl.cos.GFCosDict
getkeysString, getsize
-
Methods inherited from class org.verapdf.gf.model.impl.cos.GFCosObject
getFromValue
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.verapdf.model.coslayer.CosDict
getkeysString, getsize
-
Methods inherited from interface org.verapdf.model.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
-
-
-
Field Detail
-
COS_TRAILER_TYPE
public static final String COS_TRAILER_TYPE
Type name for GFCosTrailer- See Also:
- Constant Field Values
-
CATALOG
public static final String CATALOG
- See Also:
- Constant Field Values
-
ENCRYPT
public static final String ENCRYPT
- See Also:
- Constant Field Values
-
INFO
public static final String INFO
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFCosTrailer
public GFCosTrailer(COSDictionary dictionary)
Default constructor- Parameters:
dictionary- greenfield COSDictionary
-
-
Method Detail
-
getisEncrypted
public Boolean getisEncrypted()
Description copied from interface:CosTrailertrue if the document is encrypted- Specified by:
getisEncryptedin interfaceCosTrailer- Returns:
- true if the current document is encrypted
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGFCosDict- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-
-