Class BookmarkTree


  • public class BookmarkTree
    extends java.lang.Object
    This class is the root of the bookmark tree for use in the intermediate format.
    • Constructor Summary

      Constructors 
      Constructor Description
      BookmarkTree()
      Constructs a new bookmark tree.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addBookmark​(Bookmark bookmark)
      Adds a new top-level bookmark.
      java.util.List getBookmarks()
      Returns a list of top-level bookmarks.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BookmarkTree

        public BookmarkTree()
        Constructs a new bookmark tree.
    • Method Detail

      • addBookmark

        public void addBookmark​(Bookmark bookmark)
        Adds a new top-level bookmark.
        Parameters:
        bookmark - the bookmark
      • getBookmarks

        public java.util.List getBookmarks()
        Returns a list of top-level bookmarks.
        Returns:
        the top-level bookmarks