Class 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

    public class RSMSet
    extends java.lang.Object
    implements org.jivesoftware.smack.packet.ExtensionElement
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RSMSet.PageDirection  
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ELEMENT  
      static java.lang.String NAMESPACE  
      static javax.xml.namespace.QName QNAME  
    • 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​(org.jivesoftware.smack.packet.Stanza packet)  
      java.lang.String getAfter()  
      java.lang.String getBefore()  
      int getCount()  
      java.lang.String getElementName()  
      java.lang.String getFirst()  
      int getFirstIndex()  
      int getIndex()  
      java.lang.String getLast()  
      int getMax()  
      java.lang.String getNamespace()  
      static RSMSet newAfter​(java.lang.String after)  
      static RSMSet newBefore​(java.lang.String before)  
      org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.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.Element

        toXML, toXML
      • Methods inherited from interface org.jivesoftware.smack.packet.XmlElement

        getLanguage, getQName
    • Field Detail

      • 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 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()
        Specified by:
        getElementName in interface org.jivesoftware.smack.packet.NamedElement
      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface org.jivesoftware.smack.packet.XmlElement
      • toXML

        public org.jivesoftware.smack.util.XmlStringBuilder toXML​(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
        Specified by:
        toXML in interface org.jivesoftware.smack.packet.Element
      • from

        public static RSMSet from​(org.jivesoftware.smack.packet.Stanza packet)
      • newAfter

        public static RSMSet newAfter​(java.lang.String after)
      • newBefore

        public static RSMSet newBefore​(java.lang.String before)