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
Constructors Modifier Constructor Description protected
PacketExtensionIntrospectionProvider(Class<PE> elementClass)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PE
parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
Deprecated.-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, wrapExceptions
-
-
-
-
Constructor Detail
-
PacketExtensionIntrospectionProvider
protected PacketExtensionIntrospectionProvider(Class<PE> elementClass)
Deprecated.
-
-
Method Detail
-
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
-
-