public class BookmarkTree
extends java.lang.Object
Constructor and Description |
---|
BookmarkTree()
Constructs a new bookmark tree.
|
Modifier and Type | Method and Description |
---|---|
void |
addBookmark(Bookmark bookmark)
Adds a new top-level bookmark.
|
java.util.List |
getBookmarks()
Returns a list of top-level bookmarks.
|
public void addBookmark(Bookmark bookmark)
bookmark
- the bookmarkpublic java.util.List getBookmarks()
Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.