com.lowagie.text.pdf
Class PdfNumberTree

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

public class PdfNumberTree
extends Object

Creates a number tree.

Author:
Paulo Soares (psoares@consiste.pt)

Field Summary
private static int leafSize
           
 
Constructor Summary
PdfNumberTree()
           
 
Method Summary
private static void iterateItems(PdfDictionary dic, HashMap items)
           
static HashMap readTree(PdfDictionary dic)
           
static PdfDictionary writeTree(HashMap 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
 

Field Detail

leafSize

private static final int leafSize
See Also:
Constant Field Values
Constructor Detail

PdfNumberTree

public PdfNumberTree()
Method Detail

writeTree

public static PdfDictionary writeTree(HashMap 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

iterateItems

private static void iterateItems(PdfDictionary dic,
                                 HashMap items)

readTree

public static HashMap readTree(PdfDictionary dic)

Hosted by Hostbasket