Class IntrospectionProvider.IQIntrospectionProvider<I extends IQ>

  • Enclosing class:
    IntrospectionProvider

    @Deprecated
    public abstract static class IntrospectionProvider.IQIntrospectionProvider<I extends IQ>
    extends IqProvider<I>
    Deprecated.
    use a proper parser.
    Parsing with introspection poses a security threat and results in mutable classes and is therefore discouraged.
    • Constructor Detail

      • IQIntrospectionProvider

        protected IQIntrospectionProvider​(java.lang.Class<I> elementClass)
        Deprecated.
    • Method Detail

      • parse

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