Package com.itextpdf.kernel.pdf
Class PdfNameTree
java.lang.Object
com.itextpdf.kernel.pdf.GenericNameTree
com.itextpdf.kernel.pdf.PdfNameTree
- All Implemented Interfaces:
-
IPdfNameTreeAccess
-
Constructor Summary
ConstructorDescriptionPdfNameTree
(PdfCatalog catalog, PdfName treeType) Creates the NameTree of current Document -
Method Summary
Methods inherited from class com.itextpdf.kernel.pdf.GenericNameTree
addEntry, addEntry, addEntry, buildTree, getEntry, getEntry, getItems, getKeys, isModified, readTree, removeEntry, setItems, setModified
-
Constructor Details
-
PdfNameTree
Creates the NameTree of current Document- Parameters:
-
catalog
- Document catalog -
treeType
- the type of tree. Dests Tree, AP Tree etc.
-
-
Method Details
-
getNames
Retrieves the names stored in the name treeWhen non-textual names are required, use
- Returns:
- Map containing the PdfObjects stored in the tree
-