aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/thedevstack/conversationsplus/xmpp/time/EntityTimeXep.java
blob: fb721bce1389f59986f2c7a26560612d6d1fec39 (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package de.thedevstack.conversationsplus.xmpp.time;

import de.thedevstack.conversationsplus.xmpp.AbstractXep;
import de.thedevstack.conversationsplus.xmpp.IqPacketHandler;

/**
 */
public class EntityTimeXep extends AbstractXep {
    public EntityTimeXep() {
        super();
    }

    public EntityTimeXep(boolean enabled) {
        super(enabled);
    }

    @Override
    public String xepNumber() {
        return "0202";
    }

    @Override
    public String shortName() {
        return "time";
    }

    @Override
    public String name() {
        return "Entity Time";
    }

    @Override
    public String namespace() {
        return EntityTime.NAMESPACE;
    }

    @Override
    public String featureNamespace() {
        return EntityTime.NAMESPACE;
    }

    @Override
    public String elementName() {
        return EntityTime.ELEMENT;
    }

    @Override
    public IqPacketHandler handler() {
        return new TimeIqPacketHandler();
    }
}