| Constructor and Description |
|---|
ASDictionary() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<ASName,ASObject>> |
entrySet() |
boolean |
exists(ASName name)
Returns true if this key exists in this dictionary else false.
|
ASObject |
get(Object key) |
ASArray |
getArray(ASName key) |
ASBoolean |
getBoolean(ASName key) |
ASDictionary |
getDictionary(ASName key) |
ASName |
getName(ASName key) |
ASNumber |
getNumber(ASName key) |
ASString |
getString(ASName key) |
boolean |
isEmpty() |
Set<ASName> |
keySet() |
ASObject |
put(ASName key,
ASObject value) |
void |
putAll(Map<? extends ASName,? extends ASObject> t) |
Object |
remove(ASName name)
Removes this key from the dictionary.
|
ASObject |
remove(Object key) |
ASObject |
replace(ASName name,
ASObject clientObject)
Replaces the "name" key value with the object passed.
|
int |
size() |
String |
toString() |
Collection<ASObject> |
values() |
void |
write(OutputByteStream outputByteStream)
Writes the ASDictionary in to the given OutputStream in the format expected by the PDF Spec.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replaceAllpublic ASObject replace(ASName name, ASObject clientObject)
public boolean exists(ASName name)
public void write(OutputByteStream outputByteStream) throws PDFIOException
write in class ASObjectoutputByteStream - OutputByteStream to write to.PDFIOExceptionpublic ASNumber getNumber(ASName key) throws PDFUnableToCompleteOperationException
public ASBoolean getBoolean(ASName key) throws PDFUnableToCompleteOperationException
public ASName getName(ASName key) throws PDFUnableToCompleteOperationException
public ASString getString(ASName key) throws PDFUnableToCompleteOperationException
public ASArray getArray(ASName key) throws PDFUnableToCompleteOperationException
public ASDictionary getDictionary(ASName key) throws PDFUnableToCompleteOperationException
public boolean containsKey(Object key)
containsKey in interface Map<ASName,ASObject>public boolean containsValue(Object value)
containsValue in interface Map<ASName,ASObject>Copyright © 2010 - 2020 Adobe. All Rights Reserved