Package org.verapdf.gf.model.impl.cos
Class GFCosDict
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.cos.GFCosObject
org.verapdf.gf.model.impl.cos.GFCosDict
- Direct Known Subclasses:
GFCosFileSpecification,GFCosInfo,GFCosStream,GFCosTrailer
- Author:
- Timur Kamalov
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields 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
ConstructorsModifierConstructorDescriptionGFCosDict(COSDictionary dictionary) Default constructorprotectedGFCosDict(COSDictionary dictionary, String type) Constructor used by child classes -
Method Summary
Modifier and TypeMethodDescriptionampersand separated list of all keys of the dictionarygetLinkedObjects(String link) getsize()Get number of key/value pairs in the dictionaryMethods 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.baselayer.Object
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
COS_DICT_TYPE
- See Also:
-
KEYS
- See Also:
-
VALUES
- See Also:
-
METADATA
- See Also:
-
-
Constructor Details
-
GFCosDict
Default constructor- Parameters:
dictionary- greenfield COSDictionary
-
GFCosDict
Constructor used by child classes- Parameters:
dictionary- greenfield COSDictionarytype- type of child class
-
-
Method Details
-
getsize
Get number of key/value pairs in the dictionary -
getkeysString
Description copied from interface:CosDictampersand separated list of all keys of the dictionary- Specified by:
getkeysStringin interfaceCosDict
-
getLinkedObjects
- Specified by:
getLinkedObjectsin interfaceObject- Overrides:
getLinkedObjectsin classGenericModelObject- Parameters:
link- - the name of a link- Returns:
- List of objects with the given link
-