org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure
public class PDStructureTreeRoot extends PDStructureNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPE |
Constructor and Description |
---|
PDStructureTreeRoot()
Default Constructor.
|
PDStructureTreeRoot(COSDictionary dic)
Constructor for an existing structure element.
|
Modifier and Type | Method and Description |
---|---|
PDNameTreeNode |
getIDTree()
Returns the ID tree.
|
int |
getParentTreeNextKey()
Returns the next key in the parent tree.
|
java.util.Map<java.lang.String,java.lang.String> |
getRoleMap()
Returns the role map.
|
void |
setIDTree(PDNameTreeNode idTree)
Sets the ID tree.
|
void |
setRoleMap(java.util.Map<java.lang.String,java.lang.String> roleMap)
Sets the role map.
|
appendKid, appendKid, appendObjectableKid, create, createObject, getCOSDictionary, getCOSObject, getKids, getType, insertBefore, insertBefore, insertObjectableBefore, removeKid, removeKid, removeObjectableKid, setKids
public static final java.lang.String TYPE
public PDStructureTreeRoot()
public PDStructureTreeRoot(COSDictionary dic)
dic
- The existing dictionary.public PDNameTreeNode getIDTree()
public void setIDTree(PDNameTreeNode idTree)
idTree
- the ID treepublic int getParentTreeNextKey()
public java.util.Map<java.lang.String,java.lang.String> getRoleMap()
public void setRoleMap(java.util.Map<java.lang.String,java.lang.String> roleMap)
roleMap
- the role map