public static class MUCAdmin.Item extends Object
Constructor and Description |
---|
MUCAdmin.Item(String affiliation,
String role)
Creates a new item child.
|
Modifier and Type | Method and Description |
---|---|
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() |
public MUCAdmin.Item(String affiliation, String role)
affiliation
- the actor's affiliation to the roomrole
- the privilege level of an occupant within a room.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.