Class PdfNumberTree


  • public class PdfNumberTree
    extends java.lang.Object
    Creates a number tree.
    • Constructor Detail

      • PdfNumberTree

        public PdfNumberTree()
    • Method Detail

      • writeTree

        public static <O extends PdfObjectPdfDictionary writeTree​(java.util.HashMap<java.lang.Integer,​O> 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<java.lang.Integer,​PdfObject> items)