Package tigase.xmpp.mam

# Class MAMItemHandler

java.lang.Object
tigase.xmpp.mam.MAMItemHandler

All Implemented Interfaces:
  `MAMRepository.ItemHandler`

@Bean(name="mamItemHandler", parent=QueryModule.class, active=true) public class MAMItemHandler extends Object implements MAMRepository.ItemHandler
Basic implementation of handler processing items found in repository and converting into forward messages for delivery to client as specified in XEP-0313: Message Archive Management
Created by andrzej on 19.07.2016.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MAMItemHandler()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `itemFound(Query query, MAMRepository.Item item)`
  `protected Element`
  `prepareResult(Query query, MAMRepository.Item item)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MAMItemHandler

    public MAMItemHandler()

- ## Method Details

  - ### itemFound

    public void itemFound(Query query, MAMRepository.Item item)
    Specified by:
      `itemFound` in interface `MAMRepository.ItemHandler`

  - ### prepareResult

    protected Element prepareResult(Query query, MAMRepository.Item item)