Modifier and Type | Class and Description |
---|---|
static class |
MUCOwner.Destroy
Represents a request to the server to destroy a room.
|
static class |
MUCOwner.Item
Item child that holds information about affiliation, jids and nicks.
|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
Constructor and Description |
---|
MUCOwner() |
Modifier and Type | Method and Description |
---|---|
void |
addItem(MUCOwner.Item item)
Adds an item child that holds information about affiliation, jids and nicks.
|
String |
getChildElementXML()
Returns the sub-element XML section of the IQ packet, or null if there
isn't one.
|
MUCOwner.Destroy |
getDestroy()
Returns a request to the server to destroy a room.
|
List<MUCOwner.Item> |
getItems()
Returns a List of item childs that holds information about affiliation,
jids and nicks.
|
void |
setDestroy(MUCOwner.Destroy destroy)
Sets a request to the server to destroy a room.
|
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 MUCOwner()
public List<MUCOwner.Item> getItems()
public MUCOwner.Destroy getDestroy()
public void setDestroy(MUCOwner.Destroy destroy)
destroy
- the request to the server to destroy a room.public void addItem(MUCOwner.Item item)
item
- the item child that holds information about affiliation, jids and nicks.public String getChildElementXML()
IQ
Extensions of this class must override this method.
getChildElementXML
in class IQ