Package tigase.xmpp.mam

## Interface QueryParser<Q extends Query>

- All Known Implementing Classes:
    `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

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `default java.util.Set<java.lang.String>` | `getXMLNSs()` |
    `Q` | `parseQuery​(Q query, Packet packet)` |
    `Element` | `prepareForm​(Element elem)` |
    `default Element` | `prepareForm​(Element elem, java.lang.String xmlns)` |

- - ### Method Detail

    - #### getXMLNSs

          default java.util.Set<java.lang.String> getXMLNSs()

    - #### parseQuery

          Q parseQuery​(Q query,
                       Packet packet)
                throws ComponentException

      Throws:
        `ComponentException`

    - #### prepareForm

          default Element prepareForm​(Element elem,
                                      java.lang.String xmlns)

    - #### prepareForm

          Element prepareForm​(Element elem)