Package rocks.xmpp.im.roster.model
Class Roster
- java.lang.Object
-
- rocks.xmpp.im.roster.model.Roster
-
public final class Roster extends Object
The implementation of the roster.Rosters are managed using
<iq/>
stanzas (see Section 8.2.3 of [XMPP-CORE]), specifically by means of a<query/>
child element qualified by the 'jabber:iq:roster' namespace. The detailed syntax and semantics are defined in the following sections.This class is immutable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Contact>
getContacts()
Gets the contacts.String
getVersion()
Gets the roster version.String
toString()
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
jabber:iq:roster- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Roster
public Roster()
-
Roster
public Roster(String ver)
-
Roster
public Roster(Collection<Contact> contacts)
-
Roster
public Roster(Collection<Contact> contacts, String version)
-
Roster
public Roster(Contact... contacts)
-
-