Class PepNativeBookmark
- java.lang.Object
-
- rocks.xmpp.extensions.bookmarks.model.AbstractBookmark
-
- rocks.xmpp.extensions.bookmarks.pep.model.PepNativeBookmark
-
- All Implemented Interfaces:
Comparable<Bookmark>,Bookmark,ConferenceBookmark
public final class PepNativeBookmark extends AbstractBookmark implements ConferenceBookmark
A PEP native conference bookmark element.PEP native conference bookmarks are stored in private, personal pubsub nodes using the Personal Eventing Protocol (PEP).
- See Also:
- XEP-0402: PEP Native Bookmarks
-
-
Constructor Summary
Constructors Constructor Description PepNativeBookmark()PepNativeBookmark(String name, String nick, String password, boolean autojoin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNick()The user's preferred roomnick for the chatroom.StringgetPassword()A password used to access the chatroom.booleanisAutojoin()Whether the client should automatically join the conference room on login.StringtoString()-
Methods inherited from class rocks.xmpp.extensions.bookmarks.model.AbstractBookmark
compareTo, getName
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
"urn:xmpp:bookmarks:1"- See Also:
- Constant Field Values
-
-
Method Detail
-
isAutojoin
public final boolean isAutojoin()
Description copied from interface:ConferenceBookmarkWhether the client should automatically join the conference room on login.- Specified by:
isAutojoinin interfaceConferenceBookmark- Returns:
- true, if the client should join.
-
getNick
public final String getNick()
Description copied from interface:ConferenceBookmarkThe user's preferred roomnick for the chatroom.- Specified by:
getNickin interfaceConferenceBookmark- Returns:
- The roomnick for the chatroom.
-
getPassword
public final String getPassword()
Description copied from interface:ConferenceBookmarkA password used to access the chatroom.- Specified by:
getPasswordin interfaceConferenceBookmark- Returns:
- The password for the room.
-
-