@Override
    public Iterator<Element> getIdentities(String name, String node, JID senderJID) {
        Element identity = DocumentHelper.createElement("identity");
        identity.addAttribute("category", "automation");
        identity.addAttribute("type", "message-list");
        return Collections.singleton(identity).iterator();
    }
Implements JEP-0013: Flexible Offline Message Retrieval. Allows users to request number of
messages, request message headers, retrieve specific messages, remove specific messages,
retrieve all messages and remove all messages.

@author Gaston Dombiak
xmppserver/src/main/java/org/jivesoftware/openfire/handler/IQOfflineMessagesHandler.java