Class RoomTransfer
- java.lang.Object
-
- org.jivesoftware.smackx.workgroup.packet.RoomTransfer
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class RoomTransfer extends Object implements ExtensionElement
Stanza extension forTransferRequest
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RoomTransfer.Provider
static class
RoomTransfer.RoomTransferIQ
static class
RoomTransfer.Type
Type of entity being invited to a groupchat support session.
-
Field Summary
Fields Modifier and Type Field Description static String
ELEMENT_NAME
Element name of the stanza extension.static String
NAMESPACE
Namespace of the stanza extension.
-
Constructor Summary
Constructors Constructor Description RoomTransfer(RoomTransfer.Type type, String invitee, String sessionID, String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getElementName()
Returns the root element name.String
getInviter()
IQ.IQChildElementXmlStringBuilder
getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder buf)
String
getNamespace()
Returns the root element XML namespace.String
getReason()
String
getRoom()
String
getSessionID()
XmlStringBuilder
toXML(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
-
RoomTransfer
public RoomTransfer(RoomTransfer.Type type, String invitee, String sessionID, String reason)
-
-
Method Detail
-
getElementName
public String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
getInviter
public String getInviter()
-
getSessionID
public String getSessionID()
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
getIQChildElementBuilder
public IQ.IQChildElementXmlStringBuilder getIQChildElementBuilder(IQ.IQChildElementXmlStringBuilder buf)
-
-