[ 
https://issues.apache.org/jira/browse/PDFBOX-734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874009#action_12874009
 ] 

Johannes Koch commented on PDFBOX-734:
--------------------------------------

Well, PDOutlineNode should rather be abstract, because there is no such 
concrete thing in PDF. Your outline nodes should either be PDDocumentOutline or 
PDOutlineItem objects.

> 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.

Reply via email to