Class ContactExchange
- java.lang.Object
-
- rocks.xmpp.extensions.rosterx.model.ContactExchange
-
public final class ContactExchange extends Object
The implementation of the<x/>
element in thehttp://jabber.org/protocol/rosterx
namespace.This class is immutable.
- See Also:
- XEP-0144: Roster Item Exchange, 11. XML Schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContactExchange.Item
The roster exchange item.
-
Constructor Summary
Constructors Constructor Description ContactExchange(Collection<ContactExchange.Item> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContactExchange.Item>
getItems()
Gets the contact exchange items.
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
http://jabber.org/protocol/rosterx- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ContactExchange
public ContactExchange(Collection<ContactExchange.Item> items)
-
-
Method Detail
-
getItems
public final List<ContactExchange.Item> getItems()
Gets the contact exchange items.- Returns:
- The items.
-
-