public final class BookmarkStorage
extends java.lang.Object
The implementation of the <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 java.lang.String |
NAMESPACE
storage:bookmarks
|
Constructor and Description |
---|
BookmarkStorage() |
BookmarkStorage(java.util.Collection<Bookmark> bookmarks) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Bookmark> |
getBookmarks()
Gets the bookmarks.
|
public static final java.lang.String NAMESPACE
storage:bookmarks
public BookmarkStorage()
public BookmarkStorage(java.util.Collection<Bookmark> bookmarks)
public final java.util.List<Bookmark> getBookmarks()
Gets the bookmarks.
ChatRoomBookmark
,
WebPageBookmark
Copyright © 2014–2019 XMPP.rocks. All rights reserved.