public final class BlockList
extends java.lang.Object
The implementation of the <blocklist/> element in the urn:xmpp:blocking namespace.
This class is immutable.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESPACE
urn:xmpp:blocking
|
| Constructor and Description |
|---|
BlockList()
Creates an empty
<blocklist/> element, used to ask the server for the block list. |
BlockList(java.util.List<Jid> blockedItems)
Creates a block list with items.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Jid> |
getItems()
Gets the items.
|
java.lang.String |
toString() |
public static final java.lang.String NAMESPACE
urn:xmpp:blocking
public BlockList()
Creates an empty <blocklist/> element, used to ask the server for the block list.
public BlockList(java.util.List<Jid> blockedItems)
Creates a block list with items.
blockedItems - The blocked items.public final java.util.List<Jid> getItems()
Gets the items.
public final java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2014–2019 XMPP.rocks. All rights reserved.