public class ChatStateExtension extends Object implements ExtensionElement
ChatState
Modifier and Type | Class and Description |
---|---|
static class |
ChatStateExtension.Provider |
Constructor and Description |
---|
ChatStateExtension(ChatState state)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ChatState |
getChatState() |
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final String NAMESPACE
public ChatStateExtension(ChatState state)
state
- the state that the extension represents.public String getElementName()
NamedElement
getElementName
in interface NamedElement
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public ChatState getChatState()
public XmlStringBuilder toXML()
Element