Class PDIntegerNameTreeNode
- java.lang.Object
-
- com.tom_roush.pdfbox.pdmodel.common.PDNameTreeNode<COSInteger>
-
- com.tom_roush.pdfbox.pdmodel.common.PDIntegerNameTreeNode
-
- All Implemented Interfaces:
COSObjectable
public class PDIntegerNameTreeNode extends PDNameTreeNode<COSInteger>
todo: JavaDoc
-
-
Constructor Summary
Constructors Constructor Description PDIntegerNameTreeNode()Constructor.PDIntegerNameTreeNode(COSDictionary dic)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected COSIntegerconvertCOSToPD(COSBase base)Method to convert the COS value in the name tree to the PD Model object.protected PDIntegerNameTreeNodecreateChildNode(COSDictionary dic)Create a child node object.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class com.tom_roush.pdfbox.pdmodel.common.PDNameTreeNode
getCOSObject, getKids, getLowerLimit, getNames, getParent, getUpperLimit, getValue, isRootNode, setKids, setNames, setParent
-
-
-
-
Constructor Detail
-
PDIntegerNameTreeNode
public PDIntegerNameTreeNode()
Constructor.
-
PDIntegerNameTreeNode
public PDIntegerNameTreeNode(COSDictionary dic)
Constructor.- Parameters:
dic- The COS dictionary.
-
-
Method Detail
-
convertCOSToPD
protected COSInteger convertCOSToPD(COSBase base) throws IOException
Description copied from class:PDNameTreeNodeMethod to convert the COS value in the name tree to the PD Model object. The default implementation will simply return the given COSBase object. Subclasses should do something specific.- Specified by:
convertCOSToPDin classPDNameTreeNode<COSInteger>- Parameters:
base- The COS object to convert.- Returns:
- The converted PD Model object.
- Throws:
IOException- If there is an error during creation.
-
createChildNode
protected PDIntegerNameTreeNode createChildNode(COSDictionary dic)
Description copied from class:PDNameTreeNodeCreate a child node object.- Specified by:
createChildNodein classPDNameTreeNode<COSInteger>- Parameters:
dic- The dictionary for the child node object to refer to.- Returns:
- The new child node object.
-
-