public class RoomInvitation extends Object implements ExtensionElement
InvitationRequest
.Modifier and Type | Class and Description |
---|---|
static class |
RoomInvitation.Provider |
static class |
RoomInvitation.RoomInvitationIQ |
static class |
RoomInvitation.Type
Type of entity being invited to a groupchat support session.
|
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_NAME
Element name of the stanza extension.
|
static String |
NAMESPACE
Namespace of the stanza extension.
|
Constructor and Description |
---|
RoomInvitation(RoomInvitation.Type type,
org.jxmpp.jid.Jid invitee,
String sessionID,
String reason) |
Modifier and Type | Method and Description |
---|---|
String |
getElementName()
Returns the root element name.
|
org.jxmpp.jid.EntityJid |
getInviter() |
IQ.IQChildElementXmlStringBuilder |
getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder buf) |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
getReason() |
org.jxmpp.jid.EntityBareJid |
getRoom() |
String |
getSessionID() |
XmlStringBuilder |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String ELEMENT_NAME
public static final String NAMESPACE
public RoomInvitation(RoomInvitation.Type type, org.jxmpp.jid.Jid invitee, String sessionID, String reason)
public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public org.jxmpp.jid.EntityJid getInviter()
public org.jxmpp.jid.EntityBareJid getRoom()
public String getSessionID()
public XmlStringBuilder toXML(String enclosingNamespace)
Element
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder buf)