com.itextpdf.text.pdf
Class PdfNumberTree

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfNumberTree

public class PdfNumberTree
extends Object

Creates a number tree.

Author:
Paulo Soares

Constructor Summary
PdfNumberTree()
           
 
Method Summary
static HashMap<Integer,PdfObject> readTree(PdfDictionary dic)
           
static
<O extends PdfObject>
PdfDictionary
writeTree(HashMap<Integer,O> items, PdfWriter writer)
          Creates a number tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfNumberTree

public PdfNumberTree()
Method Detail

writeTree

public static <O extends PdfObject> PdfDictionary writeTree(HashMap<Integer,O> items,
                                                            PdfWriter writer)
                               throws IOException
Creates a number tree.

Parameters:
items - the item of the number tree. The key is an Integer and the value is a PdfObject.
writer - the writer
Returns:
the dictionary with the number tree.
Throws:
IOException - on error

readTree

public static HashMap<Integer,PdfObject> readTree(PdfDictionary dic)


Copyright © 2013. All Rights Reserved.