This example displays the name of a bookmark.
Bookmark bookmark = bookmarks.item(1); System.out.println(bookmark.getName());
Related information
Name property