package de.thedevstack.conversationsplus.xmpp.delay; import de.thedevstack.conversationsplus.xml.Element; import de.thedevstack.conversationsplus.xml.XmlElementContainer; /** */ public enum Delay implements XmlElementContainer { DELAY("delay"); private Element xmlElement; Delay(String elementName) { this.xmlElement = new Element(elementName, NAMESPACE); } @Override public Element getXmlElement() { return xmlElement; } /** * The namespace of the delay timestamp as defined in XEP-0203. * @see https://xmpp.org/extensions/xep-0203.html */ public static final String NAMESPACE = "urn:xmpp:delay"; }