public final class BookmarkStorage extends Object
<storage/> element in the storage:bookmarks namespace.
Note:
This class is immutable.It is RECOMMENDED to use Publish-Subscribe (XEP-0060) [4] for data storage, specifically through the use of personal data nodes hosted at the user's virtual publish-subscribe service as described in Best Practices for Persistent Storage of Private Data via Publish-Subscribe (XEP-0223) [5] and illustrated in the following sections.
Note: In the past, Private XML Storage (XEP-0049) [6] was the recommended method. In addition, other methods could be used, such as HTTP or WebDAV.
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE
storage:bookmarks
|
| Constructor and Description |
|---|
BookmarkStorage() |
BookmarkStorage(Collection<Bookmark> bookmarks) |
| Modifier and Type | Method and Description |
|---|---|
List<Bookmark> |
getBookmarks()
Gets the bookmarks.
|
public static final String NAMESPACE
public BookmarkStorage()
public BookmarkStorage(Collection<Bookmark> bookmarks)
public final List<Bookmark> getBookmarks()
ChatRoomBookmark,
WebPageBookmarkCopyright © 2014–2018 XMPP.rocks. All rights reserved.