You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Harry Lee (JIRA)" <ji...@apache.org> on 2010/06/01 15:41:41 UTC
[jira] Commented: (PDFBOX-734) how to access a PDoutlineNode
object's parent without using its protected menthod getParent() ?
[ https://issues.apache.org/jira/browse/PDFBOX-734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873997#action_12873997 ]
Harry Lee commented on PDFBOX-734:
----------------------------------
Hi, Johannes. Thanks for your comments. I am OK with the change from public to protected for PDOutlineNode's getParent(). But, PDOutlineNode is not a abstract class. I may have a mixed tree structure of objects of both PDOutlineNode and PDOutlineItem. How do I access the parent node of a PDOutlineNode object in my data structure?
Harry
> how to access a PDoutlineNode object's parent without using its protected menthod getParent() ?
> -----------------------------------------------------------------------------------------------
>
> Key: PDFBOX-734
> URL: https://issues.apache.org/jira/browse/PDFBOX-734
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.1.0
> Environment: Window's platform, java
> Reporter: Harry Lee
> Priority: Blocker
>
> I have some java codes that depend on the getParent() method to traverse the PDOutlineNode structure. They works fine with old version of PDFBox since this method is declared as a public method. Now it is changed to protected in the new version 1.1.0. How should I make my code work without extending or subclassing PDOutlineNode?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.