Class PdfNameTree

java.lang.Object
com.itextpdf.kernel.pdf.GenericNameTree
com.itextpdf.kernel.pdf.PdfNameTree
All Implemented Interfaces:
IPdfNameTreeAccess

public class PdfNameTree extends GenericNameTree
  • Constructor Details

    • PdfNameTree

      public PdfNameTree (PdfCatalog catalog, PdfName treeType)
      Creates the NameTree of current Document
      Parameters:
      catalog - Document catalog
      treeType - the type of tree. Dests Tree, AP Tree etc.
  • Method Details

    • getNames

      public Map<PdfString,PdfObject> getNames()
      Retrieves the names stored in the name tree

      When non-textual names are required, use

      Returns:
      Map containing the PdfObjects stored in the tree