Lines Matching defs:roster

37  * The 'jabber:x:roster' namespace (which is not to be confused with the 'jabber:iq:roster' 
38 * namespace) is used to send roster items from one client to another. A roster item is sent by
39 * adding to the <message/> element an <x/> child scoped by the 'jabber:x:roster' namespace. This
40 * &lt;x/&gt; element may contain one or more &lt;item/&gt; children (one for each roster item to be sent).<p>
49 * into one or more roster groups.
58 * Creates a new empty roster exchange package.
66 * Creates a new roster exchange package with the entries specified in roster.
68 * @param roster the roster to send to other XMPP entity.
70 public RosterExchange(Roster roster) {
71 // Add all the roster entries to the new RosterExchange
72 for (RosterEntry rosterEntry : roster.getEntries()) {
78 * Adds a roster entry to the packet.
80 * @param rosterEntry a roster entry to add.
83 // Obtain a String[] from the roster entry groups name
99 * Adds a remote roster entry to the packet.
101 * @param remoteRosterEntry a remote roster entry to add.
121 * According the specification the namespace is always "jabber:x:roster"
122 * (which is not to be confused with the 'jabber:iq:roster' namespace
127 return "jabber:x:roster";
131 * Returns an Iterator for the roster entries in the packet.
133 * @return an Iterator for the roster entries in the packet.
143 * Returns a count of the entries in the roster exchange.
145 * @return the number of entries in the roster exchange.
159 * &lt;body&gt;This message contains roster items.&lt;/body&gt;
160 * &lt;x xmlns="jabber:x:roster"&gt;
172 // Loop through all roster entries and append them to the string buffer