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
-
public class SubscriptionProvider extends org.jivesoftware.smack.provider.ExtensionElementProvider<Subscription>
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
org.jivesoftware.smack.provider.AbstractProvider.NumberFormatParseException, org.jivesoftware.smack.provider.AbstractProvider.TextParseException, org.jivesoftware.smack.provider.AbstractProvider.WrappableParser<E extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description SubscriptionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Subscription
parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)
-
-
-
Method Detail
-
parse
public Subscription parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, java.io.IOException
- Specified by:
parse
in classorg.jivesoftware.smack.provider.Provider<Subscription>
- Throws:
org.jivesoftware.smack.xml.XmlPullParserException
java.io.IOException
-
-