public class PDStructureTreeRoot extends PDStructureNode
Constructor and Description |
---|
PDStructureTreeRoot()
Default Constructor.
|
PDStructureTreeRoot(COSDictionary dic)
Constructor for an existing structure element.
|
Modifier and Type | Method and Description |
---|---|
PDNameTreeNode<PDStructureElement> |
getIDTree()
Returns the ID tree.
|
COSBase |
getK()
Returns the K entry.
|
COSArray |
getKArray()
Returns the K array entry.
|
PDNumberTreeNode |
getParentTree()
Returns the parent tree.
|
int |
getParentTreeNextKey()
Returns the next key in the parent tree.
|
Map<String,Object> |
getRoleMap()
Returns the role map.
|
void |
setIDTree(PDNameTreeNode<PDStructureElement> idTree)
Sets the ID tree.
|
void |
setK(COSBase k)
Sets the K entry.
|
void |
setParentTree(PDNumberTreeNode parentTree)
Sets the parent tree.
|
void |
setParentTreeNextKey(int parentTreeNextkey)
Sets the next key in the parent tree.
|
void |
setRoleMap(Map<String,String> roleMap)
Sets the role map.
|
appendKid, appendKid, appendObjectableKid, create, createObject, getCOSObject, getKids, getType, insertBefore, insertBefore, insertObjectableBefore, removeKid, removeKid, removeObjectableKid, setKids
public PDStructureTreeRoot()
public PDStructureTreeRoot(COSDictionary dic)
dic
- The existing dictionary.public COSArray getKArray()
public COSBase getK()
public void setK(COSBase k)
k
- the K valuepublic PDNameTreeNode<PDStructureElement> getIDTree()
public void setIDTree(PDNameTreeNode<PDStructureElement> idTree)
idTree
- the ID treepublic PDNumberTreeNode getParentTree()
public void setParentTree(PDNumberTreeNode parentTree)
parentTree
- the parent treepublic int getParentTreeNextKey()
public void setParentTreeNextKey(int parentTreeNextkey)
parentTreeNextkey
- the next key in the parent tree.Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.