BookmarkTree (Apache FOP 2.7 API)
Date: 2022-01-12

org.apache.fop.render.intermediate.extensions

## Class BookmarkTree

- java.lang.Object
- - org.apache.fop.render.intermediate.extensions.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 and Description
    `BookmarkTree()` Constructs a new bookmark tree.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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.

    - ### 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

Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.