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()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension