public class MUCAdmin extends IQ
Modifier and Type | Class and Description |
---|---|
static class |
MUCAdmin.Item
Item child that holds information about roles, affiliation, jids and nicks.
|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
Constructor and Description |
---|
MUCAdmin() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(MUCAdmin.Item item)
Adds an item child that holds information about roles, affiliation, jids and nicks.
|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
List<MUCAdmin.Item> |
getItems()
Returns a List of item childs that holds information about roles, affiliation,
jids and nicks.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
public MUCAdmin()
public List<MUCAdmin.Item> getItems()
public void addItem(MUCAdmin.Item item)
item
- the item child that holds information about roles, affiliation, jids and nicks.public String getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ