public class MUCItem extends Object implements NamedElement
Constructor and Description |
---|
MUCItem(MUCAffiliation affiliation) |
MUCItem(MUCAffiliation affiliation,
MUCRole role,
String actor,
String reason,
String jid,
String nick)
Creates a new item child.
|
MUCItem(MUCAffiliation affiliation,
String jid) |
MUCItem(MUCAffiliation affiliation,
String jid,
String reason) |
MUCItem(MUCRole role) |
MUCItem(MUCRole role,
String nick) |
MUCItem(MUCRole role,
String nick,
String reason) |
Modifier and Type | Method and Description |
---|---|
String |
getActor()
Returns the actor (JID of an occupant in the room) that was kicked or banned.
|
MUCAffiliation |
getAffiliation()
Returns the occupant's affiliation to the room.
|
String |
getElementName()
Returns the root element name.
|
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.
|
MUCRole |
getRole()
Returns the temporary position or privilege level of an occupant within a room.
|
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final String ELEMENT
public MUCItem(MUCAffiliation affiliation)
public MUCItem(MUCAffiliation affiliation, String jid, String reason)
public MUCItem(MUCAffiliation affiliation, String jid)
public String getActor()
public String getReason()
public MUCAffiliation getAffiliation()
public String getJid()
public String getNick()
public MUCRole getRole()
public XmlStringBuilder toXML()
Element
public String getElementName()
NamedElement
getElementName
in interface NamedElement