public static class MUCUser.Invite extends Object implements NamedElement
| Constructor and Description |
|---|
Invite(String reason,
org.jxmpp.jid.EntityBareJid to) |
Invite(String reason,
org.jxmpp.jid.EntityFullJid from) |
Invite(String reason,
org.jxmpp.jid.EntityJid from,
org.jxmpp.jid.EntityBareJid to) |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName()
Returns the root element name.
|
org.jxmpp.jid.EntityJid |
getFrom()
Returns the bare JID of the inviting user or, optionally, the room JID.
|
String |
getReason()
Returns the message explaining the invitation.
|
org.jxmpp.jid.EntityBareJid |
getTo()
Returns the bare JID of the invitee.
|
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT
public org.jxmpp.jid.EntityJid getFrom()
public String getReason()
public org.jxmpp.jid.EntityBareJid getTo()
public XmlStringBuilder toXML(String enclosingNamespace)
Elementpublic String getElementName()
NamedElementgetElementName in interface NamedElement