public static class MUCUser.Decline extends Object implements NamedElement
Constructor and Description |
---|
Decline() |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
String |
getFrom()
Returns the bare JID of the invitee that rejected the invitation.
|
String |
getReason()
Returns the message explaining why the invitation was rejected.
|
String |
getTo()
Returns the bare JID of the inviter.
|
void |
setFrom(String from)
Sets the bare JID of the invitee that rejected the invitation.
|
void |
setReason(String reason)
Sets the message explaining why the invitation was rejected.
|
void |
setTo(String to)
Sets the bare JID of the inviter.
|
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final String ELEMENT
public Decline()
public String getFrom()
public String getReason()
public String getTo()
public void setFrom(String from)
from
- the bare JID of the invitee that rejected the invitation.public void setReason(String reason)
reason
- the message explaining the reason for the rejection.public void setTo(String to)
to
- the bare JID of the inviter.public XmlStringBuilder toXML()
Element
public String getElementName()
NamedElement
getElementName
in interface NamedElement