01: package com.canoo.webtest.plugins.pdftest.htmlunit;
02:
03: import java.util.List;
04:
05: /**
06: * Represent a bookmark in a PDF document.
07: * @author Marc Guillemot
08: */
09: public interface PDFBookmark {
10: String getTitle();
11:
12: /**
13: * Get all children deep first
14: * @return a list of {@link PDFBookmark}
15: */
16: List getAllChildren();
17:
18: /**
19: * Gets the parent bookmark
20: * @return the parent bookmark
21: */
22: PDFBookmark getParent();
23:
24: /**
25: * Get the direct children of this bookmark
26: * @return a list of {@link PDFBookmark}
27: */
28: List getchildren();
29: }
|