|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smackx.packet.MUCAdmin.Item
public static class MUCAdmin.Item
Item child that holds information about roles, affiliation, jids and nicks.
Constructor Summary | |
---|---|
MUCAdmin.Item(java.lang.String affiliation,
java.lang.String role)
Creates a new item child. |
Method Summary | |
---|---|
java.lang.String |
getActor()
Returns the actor (JID of an occupant in the room) that was kicked or banned. |
java.lang.String |
getAffiliation()
Returns the occupant's affiliation to the room. |
java.lang.String |
getJid()
Returns the |
java.lang.String |
getNick()
Returns the new nickname of an occupant that is changing his/her nickname. |
java.lang.String |
getReason()
Returns the reason for the item child. |
java.lang.String |
getRole()
Returns the temporary position or privilege level of an occupant within a room. |
void |
setActor(java.lang.String actor)
Sets the actor (JID of an occupant in the room) that was kicked or banned. |
void |
setJid(java.lang.String jid)
Sets the |
void |
setNick(java.lang.String nick)
Sets the new nickname of an occupant that is changing his/her nickname. |
void |
setReason(java.lang.String reason)
Sets the reason for the item child. |
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MUCAdmin.Item(java.lang.String affiliation, java.lang.String role)
affiliation
- the actor's affiliation to the roomrole
- the privilege level of an occupant within a room.Method Detail |
---|
public java.lang.String getActor()
public java.lang.String getReason()
public java.lang.String getAffiliation()
public java.lang.String getJid()
public java.lang.String getNick()
public java.lang.String getRole()
public void setActor(java.lang.String actor)
actor
- the actor (JID of an occupant in the room) that was kicked or banned.public void setReason(java.lang.String reason)
reason
- the reason why a user (occupant) was kicked or banned.public void setJid(java.lang.String jid)
jid
- the JID by which an occupant is identified within a room.public void setNick(java.lang.String nick)
nick
- the new nickname of an occupant that is changing his/her nickname.public java.lang.String toXML()
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |