Class RosterExchangeProvider


  • public class RosterExchangeProvider
    extends org.jivesoftware.smack.provider.ExtensionElementProvider<RosterExchange>
    The RosterExchangeProvider parses RosterExchange packets.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RosterExchange parse​(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
      Parses a RosterExchange stanza (extension sub-packet).
      • Methods inherited from class org.jivesoftware.smack.provider.Provider

        parse, parse
      • Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider

        getElementClass
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RosterExchangeProvider

        public RosterExchangeProvider()
    • Method Detail

      • parse

        public RosterExchange parse​(org.jivesoftware.smack.xml.XmlPullParser parser,
                                    int initialDepth,
                                    org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
                             throws org.jivesoftware.smack.xml.XmlPullParserException,
                                    java.io.IOException
        Parses a RosterExchange stanza (extension sub-packet).
        Specified by:
        parse in class org.jivesoftware.smack.provider.Provider<RosterExchange>
        Parameters:
        parser - the XML parser, positioned at the starting element of the extension.
        Returns:
        a PacketExtension.
        Throws:
        java.io.IOException - if an I/O error occurred.
        org.jivesoftware.smack.xml.XmlPullParserException - if an error in the XML parser occurred.