Package tigase.xmpp.mam

# Interface QueryParser<Q extends Query>

All Known Implementing Classes:
  `MAM2ExtendedQueryParser`, `MAM2QueryParser`, `MAMQueryParser`

public interface QueryParser<Q extends Query>
Interface of which class instance is used by QueryModule to process incoming stanzas into query.
Created by andrzej on 19.07.2016.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default Set<String>`
  `getXMLNSs()`
  `Q`
  `parseQuery(Q query, Packet packet)`
  `Element`
  `prepareForm(Element elem)`
  Deprecated.
  `default Element`
  `prepareForm(Element elem, String xmlns)`
  Deprecated.
  `default Element`
  `prepareForm(Element elem, String xmlns, Packet packet)`

- ## Method Details

  - ### getXMLNSs

    default Set<String> getXMLNSs()

  - ### parseQuery

    Q parseQuery(Q query, Packet packet) throws ComponentException
    Throws:
      `ComponentException`

  - ### prepareForm

    default Element prepareForm(Element elem, String xmlns, Packet packet)

  - ### prepareForm

    @Deprecated default Element prepareForm(Element elem, String xmlns)
    Deprecated.

  - ### prepareForm

    @Deprecated Element prepareForm(Element elem)
    Deprecated.