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