Class LegacyIQProvider<I extends IQ>


  • @Deprecated
    public abstract class LegacyIQProvider<I extends IQ>
    extends IqProvider<I>
    Deprecated.
    Use IqProvider instead

    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 Detail

      • LegacyIQProvider

        public LegacyIQProvider()
        Deprecated.
    • Method Detail

      • parse

        public final I parse​(org.jivesoftware.smack.xml.XmlPullParser parser)
                      throws java.io.IOException,
                             org.jivesoftware.smack.xml.XmlPullParserException,
                             SmackParsingException
        Deprecated.
        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
        Deprecated.
        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,
                             java.text.ParseException
        Deprecated.
        Specified by:
        parse in class IqProvider<I extends IQ>
        Throws:
        org.jivesoftware.smack.xml.XmlPullParserException
        java.io.IOException
        SmackParsingException
        java.text.ParseException
      • 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,
                                java.text.ParseException
        Deprecated.
        Throws:
        org.jivesoftware.smack.xml.XmlPullParserException
        java.io.IOException
        SmackParsingException
        java.text.ParseException