Package com.itextpdf.kernel.pdf.tagging
Class PdfStructIdTree
java.lang.Object
com.itextpdf.kernel.pdf.GenericNameTree
com.itextpdf.kernel.pdf.tagging.PdfStructIdTree
- All Implemented Interfaces:
-
IPdfNameTreeAccess
Models the tree of structure element IDs. This is an optional feature of tagged PDF documents.
-
Method Summary
Modifier and TypeMethodDescriptiongetStructElemById
(byte[] id) Retrieve a structure element by ID, if it has one.Retrieve a structure element by ID, if it has one.Methods inherited from class com.itextpdf.kernel.pdf.GenericNameTree
addEntry, addEntry, buildTree, getEntry, getEntry, getItems, getKeys, isModified, readTree, removeEntry, setItems, setModified
-
Method Details
-
getStructElemById
Retrieve a structure element by ID, if it has one.- Parameters:
-
id
- the ID of the structure element to retrieve - Returns:
- the structure element with the given ID if one exists, or null otherwise.
-
getStructElemById
Retrieve a structure element by ID, if it has one.- Parameters:
-
id
- the ID of the structure element to retrieve - Returns:
- the structure element with the given ID if one exists, or null otherwise.
-