Package org.jpedal.constants
Class Bookmarks
java.lang.Object
org.jpedal.constants.Bookmarks
Represents a hierarchical bookmark (outline) structure for a document.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Bookmarks
public Bookmarks()Create a new structure of bookmarks (outlines).
-
-
Method Details
-
getChildren
Get the list of child bookmarks.- Returns:
- a list
-
addChild
Add a new child bookmark.- Parameters:
child- the bookmark to add- Returns:
- a reference to the added child
-
addChild
Add a new child bookmark.- Parameters:
title- the titlepageNumber- the page number- Returns:
- a reference to the added child
-