aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/xmpp/Forwarded.java
blob: 1880d5e97b7bea2b4e30574c66347189ff66d42c (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
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";
}