Class Roster


  • public final class Roster
    extends Object
    The implementation of the roster.

    2.1. Syntax and Semantics

    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 Detail

      • getVersion

        public final String getVersion()
        Gets the roster version.
        Returns:
        The roster version.
      • getContacts

        public final List<Contact> getContacts()
        Gets the contacts.
        Returns:
        The contacts.