Class IQProvider<I extends IQ>

  • Direct Known Subclasses:
    BindIQProvider, IntrospectionProvider.IQIntrospectionProvider

    public abstract class IQProvider<I extends IQ>
    extends IqProvider<I>

    Deprecation Notice: This class is deprecated, use IQProvider instead.

    An abstract class for parsing custom IQ packets. Each IQProvider must be registered with the ProviderManager class for it to be used. Every implementation of this abstract class must have a public, no-argument constructor.
    • Constructor Summary

      Constructors 
      Constructor Description
      IQProvider()  
    • Constructor Detail

      • IQProvider

        public IQProvider()
    • Method Detail

      • parse

        public final I parse​(org.jivesoftware.smack.xml.XmlPullParser parser)
                      throws java.io.IOException,
                             org.jivesoftware.smack.xml.XmlPullParserException,
                             SmackParsingException
        Throws:
        java.io.IOException
        org.jivesoftware.smack.xml.XmlPullParserException
        SmackParsingException
      • parse

        public final I parse​(org.jivesoftware.smack.xml.XmlPullParser parser,
                             XmlEnvironment outerXmlEnvironment)
                      throws java.io.IOException,
                             org.jivesoftware.smack.xml.XmlPullParserException,
                             SmackParsingException
        Throws:
        java.io.IOException
        org.jivesoftware.smack.xml.XmlPullParserException
        SmackParsingException
      • parse

        public final I parse​(org.jivesoftware.smack.xml.XmlPullParser parser,
                             int initialDepth,
                             IqData iqData,
                             XmlEnvironment xmlEnvironment)
                      throws org.jivesoftware.smack.xml.XmlPullParserException,
                             java.io.IOException,
                             SmackParsingException
        Specified by:
        parse in class IqProvider<I extends IQ>
        Throws:
        org.jivesoftware.smack.xml.XmlPullParserException
        java.io.IOException
        SmackParsingException
      • parse

        public abstract I parse​(org.jivesoftware.smack.xml.XmlPullParser parser,
                                int initialDepth,
                                XmlEnvironment xmlEnvironment)
                         throws org.jivesoftware.smack.xml.XmlPullParserException,
                                java.io.IOException,
                                SmackParsingException
        Throws:
        org.jivesoftware.smack.xml.XmlPullParserException
        java.io.IOException
        SmackParsingException