|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.smack.packet.Packet
org.jivesoftware.smack.packet.IQ
org.jivesoftware.smackx.packet.MUCOwner
public class MUCOwner
IQ packet that serves for granting and revoking ownership privileges, granting and revoking administrative privileges and destroying a room. All these operations are scoped by the 'http://jabber.org/protocol/muc#owner' namespace.
Nested Class Summary | |
---|---|
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. |
Nested classes/interfaces inherited from class org.jivesoftware.smack.packet.IQ |
---|
IQ.Type |
Field Summary |
---|
Fields inherited from class org.jivesoftware.smack.packet.Packet |
---|
DEFAULT_LANGUAGE, ID_NOT_AVAILABLE |
Constructor Summary | |
---|---|
MUCOwner()
|
Method Summary | |
---|---|
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. |
Iterator |
getItems()
Returns an Iterator for 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. |
Methods inherited from class org.jivesoftware.smack.packet.IQ |
---|
getType, setType, toXML |
Methods inherited from class org.jivesoftware.smack.packet.Packet |
---|
addExtension, deleteProperty, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, hashCode, nextID, parseXMLLang, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MUCOwner()
Method Detail |
---|
public Iterator 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
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |