From 14ee002a04980964aeb4c55d86ba864cec009f4a Mon Sep 17 00:00:00 2001 From: steckbrief Date: Sun, 6 May 2018 13:09:47 +0200 Subject: adds missing class --- .../conversationsplus/xmpp/Forwarded.java | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/main/java/de/thedevstack/conversationsplus/xmpp/Forwarded.java (limited to 'src') diff --git a/src/main/java/de/thedevstack/conversationsplus/xmpp/Forwarded.java b/src/main/java/de/thedevstack/conversationsplus/xmpp/Forwarded.java new file mode 100644 index 00000000..1880d5e9 --- /dev/null +++ b/src/main/java/de/thedevstack/conversationsplus/xmpp/Forwarded.java @@ -0,0 +1,26 @@ +package de.thedevstack.conversationsplus.xmpp; + +import de.thedevstack.conversationsplus.xml.Element; +import de.thedevstack.conversationsplus.xml.XmlElementContainer; + +/** + */ +public enum Forwarded implements XmlElementContainer { + FORWARDED("forwarded"); + + private Element xmlElement; + + Forwarded(String elementName) { + this.xmlElement = new Element(elementName, NAMESPACE); + } + + @Override + public Element getXmlElement() { + return xmlElement; + } + + /** + * The namespace of Forwarded.... + */ + public static final String NAMESPACE = "urn:xmpp:forward:0"; +} -- cgit v1.2.3