|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.stefanochizzolini.clown.objects.PdfObject it.stefanochizzolini.clown.objects.PdfDataObject it.stefanochizzolini.clown.objects.PdfDirectObject it.stefanochizzolini.clown.objects.PdfDictionary
public class PdfDictionary
PDF dictionary object [PDF:1.6:3.2.6].
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
PdfDictionary()
|
|
PdfDictionary(int capacity)
|
|
PdfDictionary(PdfName[] keys,
PdfDirectObject[] values)
|
Method Summary | |
---|---|
void |
clear()
|
Object |
clone(File context)
Gets the clone of the object, registered inside the given file context. |
int |
compareTo(PdfDirectObject obj)
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<PdfName,PdfDirectObject>> |
entrySet()
|
boolean |
equals(Object object)
|
PdfDirectObject |
get(Object key)
|
PdfName |
getKey(PdfDirectObject value)
Gets the key associated to a given value. |
int |
hashCode()
|
boolean |
isEmpty()
|
Set<PdfName> |
keySet()
|
PdfDirectObject |
put(PdfName key,
PdfDirectObject value)
|
void |
putAll(Map<? extends PdfName,? extends PdfDirectObject> entries)
|
PdfDirectObject |
remove(Object key)
|
PdfDataObject |
resolve(Object key)
Gets the dereferenced value corresponding to the given key. |
int |
size()
|
String |
toString()
|
Collection<PdfDirectObject> |
values()
|
void |
writeTo(IOutputStream stream)
Serializes the object to the given stream. |
Methods inherited from class it.stefanochizzolini.clown.objects.PdfDirectObject |
---|
clone |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PdfDictionary()
public PdfDictionary(int capacity)
public PdfDictionary(PdfName[] keys, PdfDirectObject[] values)
Method Detail |
---|
public Object clone(File context)
PdfObject
clone
in class PdfObject
public int compareTo(PdfDirectObject obj)
compareTo
in interface Comparable<PdfDirectObject>
compareTo
in class PdfDirectObject
public PdfName getKey(PdfDirectObject value)
public PdfDataObject resolve(Object key)
This method takes care to resolve the value returned by get(Object)
.
key
- Key whose associated value is to be returned.
public String toString()
toString
in class Object
public void writeTo(IOutputStream stream)
PdfObject
writeTo
in class PdfObject
public void clear()
clear
in interface Map<PdfName,PdfDirectObject>
public boolean containsKey(Object key)
containsKey
in interface Map<PdfName,PdfDirectObject>
public boolean containsValue(Object value)
containsValue
in interface Map<PdfName,PdfDirectObject>
public Set<Map.Entry<PdfName,PdfDirectObject>> entrySet()
entrySet
in interface Map<PdfName,PdfDirectObject>
public boolean equals(Object object)
equals
in interface Map<PdfName,PdfDirectObject>
equals
in class Object
public PdfDirectObject get(Object key)
get
in interface Map<PdfName,PdfDirectObject>
public int hashCode()
hashCode
in interface Map<PdfName,PdfDirectObject>
hashCode
in class Object
public boolean isEmpty()
isEmpty
in interface Map<PdfName,PdfDirectObject>
public Set<PdfName> keySet()
keySet
in interface Map<PdfName,PdfDirectObject>
public PdfDirectObject put(PdfName key, PdfDirectObject value)
put
in interface Map<PdfName,PdfDirectObject>
public void putAll(Map<? extends PdfName,? extends PdfDirectObject> entries)
putAll
in interface Map<PdfName,PdfDirectObject>
public PdfDirectObject remove(Object key)
remove
in interface Map<PdfName,PdfDirectObject>
public int size()
size
in interface Map<PdfName,PdfDirectObject>
public Collection<PdfDirectObject> values()
values
in interface Map<PdfName,PdfDirectObject>
|
PDF Clown 0.0.8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |