Class Block
- java.lang.Object
-
- rocks.xmpp.extensions.blocking.model.Blockable
-
- rocks.xmpp.extensions.blocking.model.Block
-
public final class Block extends Blockable
The implementation of the<block/>
element in theurn:xmpp:blocking
namespace.This class is immutable.
- See Also:
- XEP-0191: Blocking Command, XML Schema
-
-
Constructor Summary
Constructors Constructor Description Block(Collection<Jid> blockedItems)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
-
-
-
Constructor Detail
-
Block
public Block(Collection<Jid> blockedItems)
- Parameters:
blockedItems
- The blocked items.
-
-