Class RoomInvitation
- java.lang.Object
-
- org.jivesoftware.smackx.workgroup.packet.RoomInvitation
-
- All Implemented Interfaces:
Element,ExtensionElement,FullyQualifiedElement,NamedElement,XmlLangElement
public class RoomInvitation extends Object implements ExtensionElement
Stanza extension forInvitationRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRoomInvitation.Providerstatic classRoomInvitation.RoomInvitationIQstatic classRoomInvitation.TypeType of entity being invited to a groupchat support session.
-
Field Summary
Fields Modifier and Type Field Description static StringELEMENT_NAMEElement name of the stanza extension.static StringNAMESPACENamespace of the stanza extension.
-
Constructor Summary
Constructors Constructor Description RoomInvitation(RoomInvitation.Type type, Jid invitee, String sessionID, String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetElementName()Returns the root element name.EntityJidgetInviter()IQ.IQChildElementXmlStringBuildergetIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder buf)StringgetNamespace()Returns the root element XML namespace.StringgetReason()EntityBareJidgetRoom()StringgetSessionID()XmlStringBuildertoXML(XmlEnvironment enclosingNamespace)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT_NAME
public static final String ELEMENT_NAME
Element name of the stanza extension.- See Also:
- Constant Field Values
-
NAMESPACE
public static final String NAMESPACE
Namespace of the stanza extension.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RoomInvitation
public RoomInvitation(RoomInvitation.Type type, Jid invitee, String sessionID, String reason)
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
getInviter
public EntityJid getInviter()
-
getRoom
public EntityBareJid getRoom()
-
getSessionID
public String getSessionID()
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
getIQChildElementBuilder
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder buf)
-
-