public static class MUCUser.Invite extends Object implements NamedElement
Constructor and Description |
---|
Invite(String reason,
EntityBareJid to) |
Invite(String reason,
EntityFullJid from) |
Invite(String reason,
EntityJid from,
EntityBareJid to) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
EntityJid |
getFrom()
Returns the bare JID of the inviting user or, optionally, the room JID.
|
String |
getReason()
Returns the message explaining the invitation.
|
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 Invite(String reason, EntityFullJid from)
public Invite(String reason, EntityBareJid to)
public Invite(String reason, EntityJid from, EntityBareJid to)
public EntityJid getFrom()
public String getReason()
public EntityBareJid getTo()
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public String getElementName()
NamedElement
getElementName
in interface NamedElement