public static class MUCUser.Invite
extends java.lang.Object
implements org.jivesoftware.smack.packet.NamedElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
Invite() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName() |
java.lang.String |
getFrom()
Returns the bare JID of the inviter or, optionally, the room JID.
|
java.lang.String |
getReason()
Returns the message explaining the invitation.
|
java.lang.String |
getTo()
Returns the bare JID of the invitee.
|
void |
setFrom(java.lang.String from)
Sets the bare JID of the inviter or, optionally, the room JID.
|
void |
setReason(java.lang.String reason)
Sets the message explaining the invitation.
|
void |
setTo(java.lang.String to)
Sets the bare JID of the invitee.
|
org.jivesoftware.smack.util.XmlStringBuilder |
toXML() |
public static final java.lang.String ELEMENT
public java.lang.String getFrom()
public java.lang.String getReason()
public java.lang.String getTo()
public void setFrom(java.lang.String from)
from
- the bare JID of the inviter or, optionally, the room JID.public void setReason(java.lang.String reason)
reason
- the message explaining the invitation.public void setTo(java.lang.String to)
to
- the bare JID of the invitee.public org.jivesoftware.smack.util.XmlStringBuilder toXML()
toXML
in interface org.jivesoftware.smack.packet.Element
public java.lang.String getElementName()
getElementName
in interface org.jivesoftware.smack.packet.NamedElement