Class IntrospectionProvider.PacketExtensionIntrospectionProvider<PE extends ExtensionElement>

java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<PE>
org.jivesoftware.smack.provider.Provider<PE>
org.jivesoftware.smack.provider.ExtensionElementProvider<PE>
org.jivesoftware.smack.provider.IntrospectionProvider.PacketExtensionIntrospectionProvider<PE>
Enclosing class:
IntrospectionProvider

@Deprecated public abstract static class IntrospectionProvider.PacketExtensionIntrospectionProvider<PE extends ExtensionElement> extends ExtensionElementProvider<PE>
Deprecated.
use a proper parser.
Parsing with introspection poses a security threat and results in mutable classes and is therefore discouraged.
  • Constructor Details

    • PacketExtensionIntrospectionProvider

      protected PacketExtensionIntrospectionProvider(Class<PE> elementClass)
      Deprecated.
  • Method Details

    • parse

      public PE parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException
      Deprecated.
      Specified by:
      parse in class Provider<PE extends ExtensionElement>
      Throws:
      org.jivesoftware.smack.xml.XmlPullParserException
      IOException