Class AffiliationProvider
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
org.jivesoftware.smack.provider.ExtensionElementProvider<Affiliation>
org.jivesoftware.smackx.pubsub.provider.AffiliationProvider
public class AffiliationProvider
extends org.jivesoftware.smack.provider.ExtensionElementProvider<Affiliation>
Parses the affiliation element out of the reply stanza from the server
as specified in the affiliation 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 Object> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) Methods inherited from class org.jivesoftware.smack.provider.Provider
parse, parseMethods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, wrapExceptions
-
Constructor Details
-
AffiliationProvider
public AffiliationProvider()
-
-
Method Details
-
parse
public Affiliation parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws IOException - Specified by:
parsein classorg.jivesoftware.smack.provider.Provider<Affiliation>- Throws:
IOException
-