Class 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 extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      PubSubProvider()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PubSub parse​(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)  
      • Methods inherited from class org.jivesoftware.smack.provider.IQProvider

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

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

        getElementClass, wrapExceptions
      • Methods inherited from class java.lang.Object

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

      • PubSubProvider

        public PubSubProvider()
    • Method Detail

      • parse

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