public static class MUCUser.Decline
extends java.lang.Object
implements org.jivesoftware.smack.packet.NamedElement
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT |
Constructor and Description |
---|
MUCUser.Decline() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName() |
java.lang.String |
getFrom()
Returns the bare JID of the invitee that rejected the invitation.
|
java.lang.String |
getReason()
Returns the message explaining why the invitation was rejected.
|
java.lang.String |
getTo()
Returns the bare JID of the inviter.
|
void |
setFrom(java.lang.String from)
Sets the bare JID of the invitee that rejected the invitation.
|
void |
setReason(java.lang.String reason)
Sets the message explaining why the invitation was rejected.
|
void |
setTo(java.lang.String to)
Sets the bare JID of the inviter.
|
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 invitee that rejected the invitation.public void setReason(java.lang.String reason)
reason
- the message explaining the reason for the rejection.public void setTo(java.lang.String to)
to
- the bare JID of the inviter.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