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 String
getNick()
The user's preferred roomnick for the chatroom.String
getPassword()
A password used to access the chatroom.boolean
isAutojoin()
Whether the client should automatically join the conference room on login.String
toString()
-
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:ConferenceBookmark
Whether the client should automatically join the conference room on login.- Specified by:
isAutojoin
in interfaceConferenceBookmark
- Returns:
- true, if the client should join.
-
getNick
public final String getNick()
Description copied from interface:ConferenceBookmark
The user's preferred roomnick for the chatroom.- Specified by:
getNick
in interfaceConferenceBookmark
- Returns:
- The roomnick for the chatroom.
-
getPassword
public final String getPassword()
Description copied from interface:ConferenceBookmark
A password used to access the chatroom.- Specified by:
getPassword
in interfaceConferenceBookmark
- Returns:
- The password for the room.
-
-