tigase.xmpp

## Class RSM

- java.lang.Object
- - tigase.xmpp.RSM

-     public class RSM
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `XMLNS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RSM()`
    `RSM(int defaultMax)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `RSM` | `fromElement(Element e)`
    `String` | `getAfter()`
    `String` | `getBefore()`
    `Integer` | `getCount()`
    `String` | `getFirst()`
    `Integer` | `getIndex()`
    `String` | `getLast()`
    `int` | `getMax()`
    `boolean` | `hasBefore()`
    `static RSM` | `parseRootElement(Element e)`
    `static RSM` | `parseRootElement(Element e, int defaultMax)`
    `void` | `setAfter(String after)`
    `void` | `setBefore(String before)`
    `void` | `setCount(Integer count)`
    `void` | `setFirst(String first)`
    `void` | `setHasBefore(boolean hasBefore)`
    `void` | `setIndex(Integer index)`
    `void` | `setLast(String last)`
    `void` | `setMax(int max)`
    `void` | `setResults(Integer count, Integer index)`
    `void` | `setResults(Integer count, String first, String last)`
    `Element` | `toElement()`

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

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

- - ### Field Detail

    - #### XMLNS

          public static final String XMLNS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### RSM

          public RSM(int defaultMax)

    - #### RSM

          public RSM()

  - ### Method Detail

    - #### getMax

          public int getMax()

    - #### setMax

          public void setMax(int max)

    - #### getIndex

          public Integer getIndex()

    - #### getAfter

          public String getAfter()

    - #### setAfter

          public void setAfter(String after)

    - #### getBefore

          public String getBefore()

    - #### setBefore

          public void setBefore(String before)

    - #### hasBefore

          public boolean hasBefore()

    - #### setHasBefore

          public void setHasBefore(boolean hasBefore)

    - #### getCount

          public Integer getCount()

    - #### setCount

          public void setCount(Integer count)

    - #### getFirst

          public String getFirst()

    - #### setFirst

          public void setFirst(String first)

    - #### getLast

          public String getLast()

    - #### setLast

          public void setLast(String last)

    - #### setIndex

          public void setIndex(Integer index)

    - #### setResults

          public void setResults(Integer count,
                                 String first,
                                 String last)

    - #### setResults

          public void setResults(Integer count,
                                 Integer index)

    - #### fromElement

          public RSM fromElement(Element e)

    - #### toElement

          public Element toElement()

    - #### parseRootElement

          public static RSM parseRootElement(Element e,
                                             int defaultMax)

    - #### parseRootElement

          public static RSM parseRootElement(Element e)

Copyright © 2022 "Tigase, Inc.". All rights reserved.