public class MUCUser
extends java.lang.Object
implements org.jivesoftware.smack.packet.PacketExtension
Modifier and Type | Class and Description |
---|---|
static class |
MUCUser.Decline
Represents a rejection to an invitation from another user to a room.
|
static class |
MUCUser.Destroy
Represents a notification that the room has been destroyed.
|
static class |
MUCUser.Invite
Represents an invitation for another user to a room.
|
static class |
MUCUser.Item
Item child that holds information about roles, affiliation, jids and nicks.
|
static class |
MUCUser.Status
Status code assists in presenting notification messages.
|
Constructor and Description |
---|
MUCUser() |
Modifier and Type | Method and Description |
---|---|
MUCUser.Decline |
getDecline()
Returns the rejection to an invitation from another user to a room.
|
MUCUser.Destroy |
getDestroy()
Returns the notification that the room has been destroyed.
|
java.lang.String |
getElementName() |
MUCUser.Invite |
getInvite()
Returns the invitation for another user to a room.
|
MUCUser.Item |
getItem()
Returns the item child that holds information about roles, affiliation, jids and nicks.
|
java.lang.String |
getNamespace() |
java.lang.String |
getPassword()
Returns the password to use to enter Password-Protected Room.
|
MUCUser.Status |
getStatus()
Returns the status which holds a code that assists in presenting notification messages.
|
void |
setDecline(MUCUser.Decline decline)
Sets the rejection to an invitation from another user to a room.
|
void |
setDestroy(MUCUser.Destroy destroy)
Sets the notification that the room has been destroyed.
|
void |
setInvite(MUCUser.Invite invite)
Sets the invitation for another user to a room.
|
void |
setItem(MUCUser.Item item)
Sets the item child that holds information about roles, affiliation, jids and nicks.
|
void |
setPassword(java.lang.String string)
Sets the password to use to enter Password-Protected Room.
|
void |
setStatus(MUCUser.Status status)
Sets the status which holds a code that assists in presenting notification messages.
|
java.lang.String |
toXML() |
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.PacketExtension
public java.lang.String getNamespace()
getNamespace
in interface org.jivesoftware.smack.packet.PacketExtension
public java.lang.String toXML()
toXML
in interface org.jivesoftware.smack.packet.PacketExtension
public MUCUser.Invite getInvite()
public MUCUser.Decline getDecline()
public MUCUser.Item getItem()
public java.lang.String getPassword()
public MUCUser.Status getStatus()
public MUCUser.Destroy getDestroy()
public void setInvite(MUCUser.Invite invite)
invite
- the invitation for another user to a room.public void setDecline(MUCUser.Decline decline)
decline
- the rejection to an invitation from another user to a room.public void setItem(MUCUser.Item item)
item
- the item child that holds information about roles, affiliation, jids and nicks.public void setPassword(java.lang.String string)
string
- the password to use to enter Password-Protected Room.public void setStatus(MUCUser.Status status)
status
- the status which holds a code that assists in presenting notification
messages.public void setDestroy(MUCUser.Destroy destroy)
destroy
- the notification that the room has been destroyed.