Class SubscriptionProvider
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
org.jivesoftware.smack.provider.ExtensionElementProvider<Subscription>
org.jivesoftware.smackx.pubsub.provider.SubscriptionProvider
Parses the subscription element out of the PubSub IQ message from
the server as specified in the subscription schema.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
AbstractProvider.NumberFormatParseException, AbstractProvider.TextParseException, AbstractProvider.WrappableParser<E>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, toUrl, wrapExceptions
-
Constructor Details
-
SubscriptionProvider
public SubscriptionProvider()
-
-
Method Details
-
parse
public Subscription parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException - Specified by:
parse
in classProvider<Subscription>
- Throws:
XmlPullParserException
IOException
-