Class PubSubProvider

java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<PubSub>
org.jivesoftware.smack.provider.IqProvider<PubSub>
org.jivesoftware.smackx.pubsub.provider.PubSubProvider

public class PubSubProvider extends org.jivesoftware.smack.provider.IqProvider<PubSub>
Parses the root PubSub stanza extensions of the IQ stanza and returns a PubSub instance.
  • 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.IqData iqData, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
     

    Methods inherited from class org.jivesoftware.smack.provider.IqProvider

    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

    • PubSubProvider

      public PubSubProvider()
  • Method Details

    • parse

      public PubSub parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.IqData iqData, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException
      Specified by:
      parse in class org.jivesoftware.smack.provider.IqProvider<PubSub>
      Throws:
      org.jivesoftware.smack.xml.XmlPullParserException
      IOException
      org.jivesoftware.smack.parsing.SmackParsingException