Class RosterExchangeProvider

java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<RosterExchange>
org.jivesoftware.smack.provider.Provider<RosterExchange>
org.jivesoftware.smack.provider.ExtensionElementProvider<RosterExchange>
org.jivesoftware.smackx.xroster.provider.RosterExchangeProvider

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

    Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider

    org.jivesoftware.smack.provider.AbstractProvider.NumberFormatParseException, org.jivesoftware.smack.provider.AbstractProvider.TextParseException, org.jivesoftware.smack.provider.AbstractProvider.WrappableParser<E>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext)
    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, toUrl, wrapExceptions

    Methods inherited from class java.lang.Object

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

    • RosterExchangeProvider

      public RosterExchangeProvider()
  • Method Details

    • parse

      public RosterExchange parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext) throws org.jivesoftware.smack.xml.XmlPullParserException, 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:
      IOException - if an I/O error occurred.
      org.jivesoftware.smack.xml.XmlPullParserException - if an error in the XML parser occurred.