public class GFCosDict extends GFCosObject implements CosDict
| Modifier and Type | Field and Description |
|---|---|
static String |
COS_DICT_TYPE |
static String |
KEYS |
static String |
METADATA |
static String |
VALUES |
baseObject, cosDocument, MAX_NUMBER_OF_ELEMENTScontextDependent| Modifier | Constructor and Description |
|---|---|
|
GFCosDict(COSDictionary dictionary)
Default constructor
|
protected |
GFCosDict(COSDictionary dictionary,
String type)
Constructor used by child classes
|
| Modifier and Type | Method and Description |
|---|---|
List<? extends Object> |
getLinkedObjects(String link) |
Long |
getsize()
Get number of key/value pairs in the dictionary
|
getFromValuegetExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String COS_DICT_TYPE
public static final String KEYS
public static final String VALUES
public static final String METADATA
public GFCosDict(COSDictionary dictionary)
dictionary - greenfield COSDictionaryprotected GFCosDict(COSDictionary dictionary, String type)
dictionary - greenfield COSDictionarytype - type of child classpublic Long getsize()
public List<? extends Object> getLinkedObjects(String link)
getLinkedObjects in interface ObjectgetLinkedObjects in class GenericModelObjectlink - - the name of a linkCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.