Class RSMSet
java.lang.Object
org.jivesoftware.smackx.rsm.packet.RSMSet
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.ExtensionElement,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlElement,org.jivesoftware.smack.packet.XmlLangElement
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRSMSet(int max) RSMSet(int max, int index) RSMSet(int max, String item, RSMSet.PageDirection pageDirection) RSMSet(String after, String before, int count, int index, String last, int max, String firstString, int firstIndex) RSMSet(String item, RSMSet.PageDirection pageDirection) -
Method Summary
Modifier and TypeMethodDescriptionstatic RSMSetfrom(org.jivesoftware.smack.packet.Stanza packet) getAfter()intgetCount()getFirst()intintgetIndex()getLast()intgetMax()static RSMSetstatic RSMSetorg.jivesoftware.smack.util.XmlStringBuildertoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
QNAME
-
-
Constructor Details
-
RSMSet
public RSMSet(int max) -
RSMSet
public RSMSet(int max, int index) -
RSMSet
-
RSMSet
-
RSMSet
-
-
Method Details
-
getAfter
-
getBefore
-
getCount
public int getCount() -
getIndex
public int getIndex() -
getLast
-
getMax
public int getMax() -
getFirst
-
getFirstIndex
public int getFirstIndex() -
getElementName
- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-
getNamespace
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) - Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
from
-
newAfter
-
newBefore
-