blob: 1330b18db9a3043863d52401a4ca51330f1b68cf (
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
29
30
31
|
package de.thedevstack.conversationsplus.xmpp.httpuploadim;
import de.thedevstack.conversationsplus.xml.Element;
import de.thedevstack.conversationsplus.xml.XmlElementContainer;
/**
* Representation of the HttpUploadHint.
* <pre>
* <httpupload xmlns="urn:xmpp:hints"/>
* </pre>
*/
public enum HttpUploadHint implements XmlElementContainer {
HTTP_UPLOAD_HINT("httpupload");
private Element xmlElement;
HttpUploadHint(String elementName) {
this.xmlElement = new Element(elementName, NAMESPACE);
}
@Override
public Element getXmlElement() {
return xmlElement;
}
/**
* The namespace of message processing hints as defined in XEP-0334.
* @see <a href="http://xmpp.org/extensions/xep-0334.html">http://xmpp.org/extensions/xep-0334.html</a>
*/
public static final String NAMESPACE = "urn:xmpp:hints";
}
|