public class RSM extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
XMLNS
Field description
|
| Constructor and Description |
|---|
RSM(tigase.xml.Element e) |
RSM(tigase.xml.Element e,
int defaultMax)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAfter()
Method description
|
String |
getBefore()
Method description
|
Integer |
getIndex()
Method description
|
int |
getMax()
Method description
|
static RSM |
parseRootElement(tigase.xml.Element e)
Method description
|
static RSM |
parseRootElement(tigase.xml.Element e,
int defaultMax)
Method description
|
void |
setFirst(String first) |
void |
setIndex(Integer index) |
void |
setLast(String last) |
void |
setResults(Integer count,
Integer index)
Set count and index of first result
|
void |
setResults(Integer count,
String first,
String last)
Method description
|
tigase.xml.Element |
toElement()
Method description
|
protected static final String XMLNS
public RSM(tigase.xml.Element e, int defaultMax)
e - public RSM(tigase.xml.Element e)
public int getMax()
public Integer getIndex()
public String getAfter()
public String getBefore()
public void setFirst(String first)
public void setLast(String last)
public void setIndex(Integer index)
public void setResults(Integer count, String first, String last)
count - first - last - public void setResults(Integer count, Integer index)
count - index - public tigase.xml.Element toElement()
public static RSM parseRootElement(tigase.xml.Element e, int defaultMax)
e - public static RSM parseRootElement(tigase.xml.Element e)
e - Copyright © 2014. All rights reserved.