Class ChatStateExtension
java.lang.Object
org.jivesoftware.smackx.chatstates.packet.ChatStateExtension
- All Implemented Interfaces:
Element,NamedElement,XmlElement,XmlLangElement
Represents a chat state which is an extension to message packets which is used to indicate
the current status of a chat participant.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.Returns the root element XML namespace.toXML(XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
NAMESPACE
- See Also:
-
-
Constructor Details
-
ChatStateExtension
Default constructor. The argument provided is the state that the extension will represent.- Parameters:
state- the state that the extension represents.
-
-
Method Details
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
getChatState
-
toXML
-