aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2018-05-06 13:09:47 +0200
committersteckbrief <steckbrief@chefmail.de>2018-05-06 13:09:47 +0200
commit14ee002a04980964aeb4c55d86ba864cec009f4a (patch)
treece90c05d96d747ea1f6cf80129462119a1291dc1 /src
parentb0780224b5bdd68d74ef514e64e14ce9d37d7b90 (diff)
adds missing class
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/thedevstack/conversationsplus/xmpp/Forwarded.java26
1 files changed, 26 insertions, 0 deletions
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";
+}