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