it.stefanochizzolini.clown.objects
Class NameTree<T extends PdfObjectWrapper<?>>
java.lang.Object
it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfDictionary>
it.stefanochizzolini.clown.objects.NameTree<T>
- All Implemented Interfaces:
- Map<PdfString,T>
- Direct Known Subclasses:
- NamedDestinations, NamedEmbeddedFiles
public abstract class NameTree<T extends PdfObjectWrapper<?>>
- extends PdfObjectWrapper<PdfDictionary>
- implements Map<PdfString,T>
Name tree [PDF:1.6:3.8.5].
- Since:
- 0.0.4
- Version:
- 0.0.8
- Author:
- Stefano Chizzolini (http://www.stefanochizzolini.it)
NameTree
public NameTree(Document context)
NameTree
public NameTree(PdfDirectObject baseObject,
PdfIndirectObject container)
clone
public NameTree<T> 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.
clear
public void clear()
- Specified by:
clear
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
entrySet
public Set<Map.Entry<PdfString,T>> entrySet()
- Specified by:
entrySet
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
equals
public boolean equals(Object object)
- Specified by:
equals
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
- Overrides:
equals
in class Object
get
public T get(Object key)
- Specified by:
get
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
- Overrides:
hashCode
in class Object
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
keySet
public Set<PdfString> keySet()
- Specified by:
keySet
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
put
public T put(PdfString key,
T value)
- Specified by:
put
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
putAll
public void putAll(Map<? extends PdfString,? extends T> entries)
- Specified by:
putAll
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
remove
public T remove(Object key)
- Specified by:
remove
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
size
public int size()
- Specified by:
size
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
values
public Collection<T> values()
- Specified by:
values
in interface Map<PdfString,T extends PdfObjectWrapper<?>>
wrap
protected abstract T wrap(PdfDirectObject baseObject,
PdfIndirectObject container,
PdfString name)
- Wraps a base object within its corresponding high-level representation.
Project home page
Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.