public class ChatStateExtension extends Object implements ExtensionElement
ChatState
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(String enclosingNamespace)
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(String enclosingNamespace)
Element