com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox
Class PdfBoxPDFBookmark

java.lang.Object
  extended by com.canoo.webtest.plugins.pdftest.htmlunit.pdfbox.PdfBoxPDFBookmark
All Implemented Interfaces:
PDFBookmark

public class PdfBoxPDFBookmark
extends Object
implements PDFBookmark

Implementation of PDFBookmark based on PDFBox.

Author:
Etienne Studer, Marc Guillemot

Constructor Summary
PdfBoxPDFBookmark(org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem nativeBookmark, PdfBoxPDFBookmark parent)
           
 
Method Summary
 List<PdfBoxPDFBookmark> getAllChildren()
          Get all children deep first
 List<PdfBoxPDFBookmark> getchildren()
          Get the direct children of this bookmark
 PDFBookmark getParent()
          Gets the parent bookmark
 String getTitle()
           
protected  List<PdfBoxPDFBookmark> readChildren()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfBoxPDFBookmark

public PdfBoxPDFBookmark(org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineItem nativeBookmark,
                         PdfBoxPDFBookmark parent)
Method Detail

readChildren

protected List<PdfBoxPDFBookmark> readChildren()

getTitle

public String getTitle()
Specified by:
getTitle in interface PDFBookmark

getParent

public PDFBookmark getParent()
Description copied from interface: PDFBookmark
Gets the parent bookmark

Specified by:
getParent in interface PDFBookmark
Returns:
the parent bookmark

getchildren

public List<PdfBoxPDFBookmark> getchildren()
Description copied from interface: PDFBookmark
Get the direct children of this bookmark

Specified by:
getchildren in interface PDFBookmark
Returns:
a list of PDFBookmark

getAllChildren

public List<PdfBoxPDFBookmark> getAllChildren()
Get all children deep first

Specified by:
getAllChildren in interface PDFBookmark
Returns:
a list of PDFBookmark

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.