| Modifier and Type | Field and Description |
|---|---|
| protected Map | items
The name-value pairs of this dictionary. |
| private static final Log | LOG
Log instance. |
| private static final String | |
| private final COSUpdateState |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(ICOSVisitor
The object to notify when visiting this object. visitor)Implements abstract org. visitor pattern double dispatch method. |
| public void | addAll(COSDictionary
The dictionaries to get the key/value pairs from. dict)This will add all of the dictionaries keys/values to this dictionary. |
| public COSDictionary | Returns: an unmodifiable view of this dictionaryReturns an unmodifiable view of this dictionary. |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if the map contains this value.The value to find in the map. value)
|
| public Set | Returns: name-value entries in this dictionaryReturns the name-value entries in this dictionary. |
| public void | forEach(BiConsumer<? super COSName, ? super COSBase>
The action to be performed for each entry action)Convenience method that calls |
| public boolean | Returns: The value converted to a boolean.The key to the item in the dictionary. key, boolean The value returned if the entry is null. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a cos boolean and convert it to a primitive boolean. |
| public boolean | Returns: The entry converted to a boolean.The key to the item in the dictionary. key, boolean The value returned if the entry is null. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a COSBoolean and convert it to a primitive boolean. |
| public boolean | Returns: The entry converted to a boolean.The first key to the item in the dictionary. firstKey, COSName The second key to the item in the dictionary. secondKey, boolean The value returned if the entry is null. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a COSBoolean and convert it to a primitive boolean. |
| public COSArray | Returns: The COSArray.The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a COSArray. |
| public COSDictionary | Returns: The COSDictionary.The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a COSDictionary. |
| public COSDictionary | Returns: The COSDictionary.The first key to the item in the dictionary. firstKey, COSName The second key to the item in the dictionary. secondKey)This is a convenience method that will get the dictionary object that is expected to be a COSDictionary. |
| public COSName | Returns: The COS name.The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a name. |
| public COSName | Returns: The COS name.The key to the item in the dictionary. key, COSName The value to return if the dictionary item is null. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a name. |
| public COSObject | Returns: The COSObject.The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a COSObject. |
| public COSStream | Returns: The COSStream.The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a COSStream. |
| public Calendar | |
| public Calendar | |
| public Calendar | Returns: The name converted to a date.The key to the item in the dictionary. key, Calendar The default value to return if the entry does not exist in the dictionary or if the date was invalid. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a date. |
| public Calendar | Returns: The name converted to a date.The key to the item in the dictionary. key, Calendar The default value to return if the entry does not exist in the dictionary or if the date was invalid. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a date. |
| public COSBase | Returns: The object that matches the key.The key to the object that we are getting. key)This will get an object from this dictionary. |
| public COSBase | Returns: The object that matches the key.The first key to try. firstKey, COSName The second key to try. secondKey)This is a special case of getDictionaryObject that takes multiple keys, it will handle the situation where multiple keys could get the same value, ie if either CS or ColorSpace is used to get the colorspace. |
| public COSBase | Returns: The object that matches the key.The key to the object that we are getting. key)This will get an object from this dictionary. |
| private static String | |
| public Calendar | Returns: The name converted to a string.The embedded dictionary to get. embedded, COSName The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string. |
| public Calendar | Returns: The name converted to a string.The embedded dictionary to get. embedded, COSName The key to the item in the dictionary. key, Calendar The default value to return if the entry does not exist in the dictionary or if the date was
invalid. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a date. |
| public int | Returns: The value of the embedded integer.The name of the embedded dictionary. embeddedDictionary, COSName The key in the embedded dictionary. key)Get an integer from an embedded dictionary. |
| public int | Returns: The value of the embedded integer.The name of the embedded dictionary. embeddedDictionary, COSName The key in the embedded dictionary. key, int The value if there is no embedded dictionary or it does not contain the key. defaultValue)Get an integer from an embedded dictionary. |
| public String | Returns: The name converted to a string.The embedded dictionary. embedded, COSName The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string. |
| public String | Returns: The name converted to a string.The embedded dictionary. embedded, COSName The key to the item in the dictionary. key, String The default value to return. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string. |
| public boolean | |
| public float | |
| public float | |
| public float | |
| public float | |
| public void | getIndirectObjectKeys(List<COSObjectKey>
a list of already found indirect objects. indirectObjects)
Deprecated
use
getIndirectObjectKeys(Collection) instead
Collects all indirect objects numbers within this dictionary and all included dictionaries. |
| public void | getIndirectObjectKeys(Collection<COSObjectKey>
a collection of already found indirect objects. indirectObjects)Collects all indirect objects numbers within this dictionary and all included dictionaries. |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | Returns: The integer value.The first key to the item in the dictionary. firstKey, COSName The second key to the item in the dictionary. secondKey, int The value to return if the dictionary item is null. defaultValue)This is a convenience method that will get the dictionary object that is expected to be an integer. |
| public COSBase | |
| public COSBase | |
| public COSBase | Returns: The object that matches the key.The first key to try. firstKey, COSName The second key to try. secondKey)This is a special case of getItem that takes multiple keys, it will handle the situation where multiple keys could get the same value, ie if either CS or ColorSpace is used to get the colorspace. |
| public COSName | Returns: The key for the value in the map or null if it does not exist.The value to search for in the map. value)Search in the map for the value that matches the parameter and return the first key that maps to that value. |
| public long | |
| public long | |
| public long | |
| public long | |
| public String | Returns: The name converted to a string.The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string. |
| public String | Returns: The name converted to a string.The key to the item in the dictionary. key)This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string. |
| public String | Returns: The name converted to a string.The key to the item in the dictionary. key, String The value to return if the dictionary item is null. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string. |
| public String | Returns: The name converted to a string.The key to the item in the dictionary. key, String The value to return if the dictionary item is null. defaultValue)This is a convenience method that will get the dictionary object that is expected to be a name and convert it to a string. |
| public COSBase | Returns: the objectthe relative path to the object. objPath)Nice method, gives you every object you want Arrays works properly too. |
| public String | |
| public String | |
| public String | |
| public String | |
| public COSUpdateState | getUpdateState()
Implements org. Returns the current |
| public Collection | Returns: All the values for the dictionary.This will get all of the values for the dictionary. |
| public Set | Returns: names of the entries in this dictionaryReturns the names of the entries in this dictionary. |
| public void | removeItem(COSName
The key to the item to remove from the dictionary. key)This will remove an item for the dictionary. |
| public void | setBoolean(String
The key to the dictionary object. key, boolean The value to the dictionary object. value)This will set an item in the dictionary. |
| public void | setBoolean(COSName
The key to the dictionary object. key, boolean The value to the dictionary object. value)This will set an item in the dictionary. |
| public void | |
| public void | |
| public void | setEmbeddedDate(COSName
The embedded dictionary. embedded, COSName The key to the date. key, Calendar The date to set. date)Set the date object. |
| public void | setEmbeddedInt(COSName
The embedded dictionary. embeddedDictionary, COSName The key to the object, key, int The int value for the name. value)This is a convenience method that will convert the value to a COSInteger object. |
| public void | setEmbeddedString(COSName
The embedded dictionary to set the item in. embedded, COSName The key to the object, key, String The string value for the name. value)This is a convenience method that will convert the value to a COSString object. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setItem(COSName
The key to the dictionary object. key, COSObjectable The value to the dictionary object. value)This will set an item in the dictionary. |
| public void | setItem(String
The key to the dictionary object. key, COSObjectable The value to the dictionary object. value)This will set an item in the dictionary. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public int | Returns: The number of elements in the dictionary.This will return the number of elements in this dictionary. |
| public String |