blob: a1822b7d42d01eaf15771cb4baf77ecd1266e027 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
package de.thedevstack.conversationsplus.xmpp.chatmarkers;
import de.thedevstack.conversationsplus.xml.Element;
import de.thedevstack.conversationsplus.xml.XmlElementContainer;
/**
* Representation of the ChatMarkers hint.
* <pre>
* <markable xmlns="urn:xmpp:chat-markers:0"/>
* </pre>
*/
public enum ChatMarkers implements XmlElementContainer {
MARKABLE("markable"),
RECEIVED("received"),
DISPLAYED("displayed"),
ACKNOWLEDGED("acknowledged");
private final Element xmlElement;
ChatMarkers(String elementName) {
this.xmlElement = new Element(elementName, ChatMarkersXep.NAMESPACE);
}
@Override
public Element getXmlElement() {
return xmlElement;
}
}
|