public static class MUCOwner.Item
extends java.lang.Object
Constructor and Description |
---|
MUCOwner.Item(java.lang.String affiliation)
Creates a new item child.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setRole(java.lang.String role)
Sets the temporary position or privilege level of an occupant within a room.
|
java.lang.String |
toXML() |
public MUCOwner.Item(java.lang.String affiliation)
affiliation
- the actor's affiliation to the roompublic 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 void setRole(java.lang.String role)
role
- the new privilege level of an occupant within a room.public java.lang.String toXML()