Class RSMSet
- java.lang.Object
-
- org.jivesoftware.smackx.rsm.packet.RSMSet
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class RSMSet extends java.lang.Object implements ExtensionElement
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RSMSet.PageDirection
-
Constructor Summary
Constructors Constructor Description RSMSet(int max)
RSMSet(int max, int index)
RSMSet(int max, java.lang.String item, RSMSet.PageDirection pageDirection)
RSMSet(java.lang.String after, java.lang.String before, int count, int index, java.lang.String last, int max, java.lang.String firstString, int firstIndex)
RSMSet(java.lang.String item, RSMSet.PageDirection pageDirection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RSMSet
from(Stanza packet)
java.lang.String
getAfter()
java.lang.String
getBefore()
int
getCount()
java.lang.String
getElementName()
Returns the root element name.java.lang.String
getFirst()
int
getFirstIndex()
int
getIndex()
java.lang.String
getLast()
int
getMax()
java.lang.String
getNamespace()
Returns the root element XML namespace.static RSMSet
newAfter(java.lang.String after)
static RSMSet
newBefore(java.lang.String before)
XmlStringBuilder
toXML(XmlEnvironment enclosingNamespace)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
QNAME
public static final javax.xml.namespace.QName QNAME
-
-
Constructor Detail
-
RSMSet
public RSMSet(int max)
-
RSMSet
public RSMSet(int max, int index)
-
RSMSet
public RSMSet(java.lang.String item, RSMSet.PageDirection pageDirection)
-
RSMSet
public RSMSet(int max, java.lang.String item, RSMSet.PageDirection pageDirection)
-
RSMSet
public RSMSet(java.lang.String after, java.lang.String before, int count, int index, java.lang.String last, int max, java.lang.String firstString, int firstIndex)
-
-
Method Detail
-
getAfter
public java.lang.String getAfter()
-
getBefore
public java.lang.String getBefore()
-
getCount
public int getCount()
-
getIndex
public int getIndex()
-
getLast
public java.lang.String getLast()
-
getMax
public int getMax()
-
getFirst
public java.lang.String getFirst()
-
getFirstIndex
public int getFirstIndex()
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
-