Package org.jivesoftware.smack.provider
Class IntrospectionProvider.PacketExtensionIntrospectionProvider<PE extends ExtensionElement>
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
AbstractProvider.NumberFormatParseException, AbstractProvider.TextParseException, AbstractProvider.WrappableParser<E>
-
Constructor Summary
ModifierConstructorDescriptionprotected
PacketExtensionIntrospectionProvider
(Class<PE> elementClass) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionparse
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) Deprecated.Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, wrapExceptions
-
Constructor Details
-
PacketExtensionIntrospectionProvider
Deprecated.
-
-
Method Details
-
parse
public PE parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException Deprecated.- Specified by:
parse
in classProvider<PE extends ExtensionElement>
- Throws:
XmlPullParserException
IOException
-