public class RSMSet extends Object implements ExtensionElement
| Modifier and Type | Class and Description |
|---|---|
static class |
RSMSet.PageDirection |
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
| Constructor and Description |
|---|
RSMSet(int max) |
RSMSet(int max,
int index) |
RSMSet(int max,
String item,
RSMSet.PageDirection pageDirection) |
RSMSet(String item,
RSMSet.PageDirection pageDirection) |
RSMSet(String after,
String before,
int count,
int index,
String last,
int max,
String firstString,
int firstIndex) |
| Modifier and Type | Method and Description |
|---|---|
static RSMSet |
from(Stanza packet) |
String |
getAfter() |
String |
getBefore() |
int |
getCount() |
String |
getElementName()
Returns the root element name.
|
String |
getFirst() |
int |
getFirstIndex() |
int |
getIndex() |
String |
getLast() |
int |
getMax() |
String |
getNamespace()
Returns the root element XML namespace.
|
static RSMSet |
newAfter(String after) |
static RSMSet |
newBefore(String before) |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final String ELEMENT
public static final String NAMESPACE
public RSMSet(int max)
public RSMSet(int max,
int index)
public RSMSet(String item, RSMSet.PageDirection pageDirection)
public RSMSet(int max,
String item,
RSMSet.PageDirection pageDirection)
public String getAfter()
public String getBefore()
public int getCount()
public int getIndex()
public String getLast()
public int getMax()
public String getFirst()
public int getFirstIndex()
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic XmlStringBuilder toXML()
ElementCopyright © 2024. All rights reserved.