public class ChatStateExtension extends Object implements PacketExtension
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 |
|---|---|
String |
getElementName()
Returns the root element name.
|
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public ChatStateExtension(ChatState state)
state - the state that the extension represents.public String getElementName()
PacketExtensiongetElementName in interface PacketExtensionpublic String getNamespace()
PacketExtensiongetNamespace in interface PacketExtensionpublic String toXML()
PacketExtensiontoXML in interface PacketExtension