Interface DiscoverableItem
-
- All Superinterfaces:
Addressable
,Item
,ResultSetItem
,ServiceDiscoveryNode
public interface DiscoverableItem extends Item, ResultSetItem
A Service Discovery item which has an id, in order to provide a limited result set.Implementations of this class are provided by the
ItemProvider
, which in turn is used by theAbstractServiceDiscoveryManager
to returned a limited result set to the requesting entity (only if a limited result set has been requested).
-
-
Method Summary
Static Methods Modifier and Type Method Description static DiscoverableItem
from(Item item, String id)
Creates an anonymous instance of this interface from anItem
and a result item id.-
Methods inherited from interface rocks.xmpp.core.Addressable
getJid
-
Methods inherited from interface rocks.xmpp.extensions.rsm.model.ResultSetItem
getId
-
Methods inherited from interface rocks.xmpp.extensions.disco.model.ServiceDiscoveryNode
getNode
-
-
-
-
Method Detail
-
from
static DiscoverableItem from(Item item, String id)
Creates an anonymous instance of this interface from anItem
and a result item id.- Parameters:
item
- The item.id
- The id, which identifies the item.- Returns:
- A discoverable item.
- Throws:
NullPointerException
- If item or id is null.
-
-