Package tigase.xmpp.rsm
Class RSM
- java.lang.Object
-
- tigase.xmpp.rsm.RSM
-
public class RSM extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RSMfromElement(tigase.xml.Element e)StringgetAfter()StringgetBefore()IntegergetCount()StringgetFirst()IntegergetIndex()StringgetLast()intgetMax()booleanhasBefore()static RSMparseRootElement(tigase.xml.Element e)static RSMparseRootElement(tigase.xml.Element e, int defaultMax)voidsetAfter(String after)voidsetBefore(String before)voidsetCount(Integer count)voidsetFirst(String first)voidsetHasBefore(boolean hasBefore)voidsetIndex(Integer index)voidsetLast(String last)voidsetMax(int max)voidsetResults(Integer count, Integer index)voidsetResults(Integer count, String first, String last)tigase.xml.ElementtoElement()
-
-
-
Field Detail
-
XMLNS
public static final String XMLNS
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseRootElement
public static RSM parseRootElement(tigase.xml.Element e, int defaultMax)
-
parseRootElement
public static RSM parseRootElement(tigase.xml.Element e)
-
getMax
public int getMax()
-
setMax
public void setMax(int max)
-
getIndex
public Integer getIndex()
-
setIndex
public void setIndex(Integer index)
-
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)
-
fromElement
public RSM fromElement(tigase.xml.Element e)
-
toElement
public tigase.xml.Element toElement()
-
-