org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure
Class PDStructureTreeRoot

java.lang.Object
  extended by org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDStructureNode
      extended by org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDStructureTreeRoot
All Implemented Interfaces:
COSObjectable

public class PDStructureTreeRoot
extends PDStructureNode

A root of a structure tree.

Version:
$Revision: 1.2 $
Author:
Ben Litchfield, Johannes Koch

Field Summary
static String TYPE
           
 
Constructor Summary
PDStructureTreeRoot()
          Default Constructor.
PDStructureTreeRoot(COSDictionary dic)
          Constructor for an existing structure element.
 
Method Summary
 PDNameTreeNode getIDTree()
          Returns the ID tree.
 int getParentTreeNextKey()
          Returns the next key in the parent tree.
 Map<String,String> getRoleMap()
          Returns the role map.
 void setIDTree(PDNameTreeNode idTree)
          Sets the ID tree.
 void setRoleMap(Map<String,String> roleMap)
          Sets the role map.
 
Methods inherited from class org.apache.pdfbox.pdmodel.documentinterchange.logicalstructure.PDStructureNode
appendKid, appendKid, appendObjectableKid, create, createObject, getCOSDictionary, getCOSObject, getKids, getType, insertBefore, insertBefore, insertObjectableBefore, removeKid, removeKid, removeObjectableKid, setKids
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

PDStructureTreeRoot

public PDStructureTreeRoot()
Default Constructor.


PDStructureTreeRoot

public PDStructureTreeRoot(COSDictionary dic)
Constructor for an existing structure element.

Parameters:
dic - The existing dictionary.
Method Detail

getIDTree

public PDNameTreeNode getIDTree()
Returns the ID tree.

Returns:
the ID tree

setIDTree

public void setIDTree(PDNameTreeNode idTree)
Sets the ID tree.

Parameters:
idTree - the ID tree

getParentTreeNextKey

public int getParentTreeNextKey()
Returns the next key in the parent tree.

Returns:
the next key in the parent tree

getRoleMap

public Map<String,String> getRoleMap()
Returns the role map.

Returns:
the role map

setRoleMap

public void setRoleMap(Map<String,String> roleMap)
Sets the role map.

Parameters:
roleMap - the role map


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.