PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents
Class XObjectResources

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
      extended by it.stefanochizzolini.clown.documents.contents.XObjectResources
All Implemented Interfaces:
Map<PdfName,XObject>

public class XObjectResources
extends PdfObjectWrapper<PdfDictionary>
implements Map<PdfName,XObject>

External object resources collection [PDF:1.6:3.7.2].

Version:
0.0.7
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
XObjectResources(Document context)
           
 
Method Summary
 void clear()
           
 XObjectResources clone(Document context)
          Gets a clone of the object, registered inside the given document context.
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<PdfName,XObject>> entrySet()
           
 boolean equals(PdfDirectObject object)
           
 XObject get(Object key)
           
 PdfName getKey(XObject value)
          Gets the key associated to a given value.
 int hashCode()
           
 boolean isEmpty()
           
 Set<PdfName> keySet()
           
 XObject put(PdfName key, XObject value)
           
 void putAll(Map<? extends PdfName,? extends XObject> entries)
           
 XObject remove(Object key)
           
 int size()
           
 Collection<XObject> values()
           
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals
 

Constructor Detail

XObjectResources

public XObjectResources(Document context)
Method Detail

clone

public XObjectResources clone(Document context)
Description copied from class: PdfObjectWrapper
Gets a clone of the object, registered inside the given document context.

Specified by:
clone in class PdfObjectWrapper<PdfDictionary>
Parameters:
context - Which document the clone has to be registered in.

getKey

public PdfName getKey(XObject value)
Gets the key associated to a given value.


clear

public void clear()
Specified by:
clear in interface Map<PdfName,XObject>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<PdfName,XObject>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<PdfName,XObject>

entrySet

public Set<Map.Entry<PdfName,XObject>> entrySet()
Specified by:
entrySet in interface Map<PdfName,XObject>

equals

public boolean equals(PdfDirectObject object)

get

public XObject get(Object key)
Specified by:
get in interface Map<PdfName,XObject>

hashCode

public int hashCode()
Specified by:
hashCode in interface Map<PdfName,XObject>
Overrides:
hashCode in class Object

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<PdfName,XObject>

keySet

public Set<PdfName> keySet()
Specified by:
keySet in interface Map<PdfName,XObject>

put

public XObject put(PdfName key,
                   XObject value)
Specified by:
put in interface Map<PdfName,XObject>

putAll

public void putAll(Map<? extends PdfName,? extends XObject> entries)
Specified by:
putAll in interface Map<PdfName,XObject>

remove

public XObject remove(Object key)
Specified by:
remove in interface Map<PdfName,XObject>

size

public int size()
Specified by:
size in interface Map<PdfName,XObject>

values

public Collection<XObject> values()
Specified by:
values in interface Map<PdfName,XObject>

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.