Class PrivacyProvider
- java.lang.Object
-
- org.jivesoftware.smack.provider.AbstractProvider<I>
-
- org.jivesoftware.smack.provider.IqProvider<I>
-
- org.jivesoftware.smack.provider.IQProvider<Privacy>
-
- org.jivesoftware.smackx.privacy.provider.PrivacyProvider
-
public class PrivacyProvider extends IQProvider<Privacy>
The PrivacyProvider parsesPrivacy
packets.Privacy
Parses thequery
sub-document and creates an instance ofPrivacy
. For eachitem
in thelist
element, it creates an instance ofPrivacyItem
.
-
-
Constructor Summary
Constructors Constructor Description PrivacyProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Privacy
parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
-
Methods inherited from class org.jivesoftware.smack.provider.IQProvider
parse, parse, parse
-
Methods inherited from class org.jivesoftware.smack.provider.IqProvider
parse, parse
-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass
-
-
-
-
Constructor Detail
-
PrivacyProvider
public PrivacyProvider()
-
-
Method Detail
-
parse
public Privacy parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException
- Specified by:
parse
in classIQProvider<Privacy>
- Throws:
XmlPullParserException
IOException
-
-