Class PdfNumberTree


  • class PdfNumberTree
    extends java.lang.Object
    Creates a number tree.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int leafSize  
    • Constructor Summary

      Constructors 
      Constructor Description
      PdfNumberTree()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static void iterateItems​(PdfDictionary dic, java.util.HashMap items)  
      (package private) static PdfDictionary writeTree​(java.util.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
    • Constructor Detail

      • PdfNumberTree

        PdfNumberTree()
    • Method Detail

      • writeTree

        static PdfDictionary writeTree​(java.util.HashMap items,
                                       PdfWriter writer)
                                throws java.io.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:
        java.io.IOException - on error
      • iterateItems

        private static void iterateItems​(PdfDictionary dic,
                                         java.util.HashMap items)