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 String
CATALOG
static String
COS_TRAILER_TYPE
Type name for GFCosTrailerstatic String
ENCRYPT
static String
INFO
-
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 Boolean
getisEncrypted()
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:CosTrailer
true if the document is encrypted- Specified by:
getisEncrypted
in interfaceCosTrailer
- Returns:
- true if the current document is encrypted
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjects
in interfaceObject
- Overrides:
getLinkedObjects
in classGFCosDict
- Parameters:
link
- - the name of a link- Returns:
- List of objects with the given link
-
-