Class PrivacyProvider
java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<I>
org.jivesoftware.smack.provider.IqProvider<Privacy>
org.jivesoftware.smackx.privacy.provider.PrivacyProvider
The PrivacyProvider parses
Privacy
packets. Privacy
Parses the query
sub-document and creates an instance of Privacy
.
For each item
in the list
element, it creates an instance
of PrivacyItem
.-
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, IqData iqData, XmlEnvironment xmlEnvironment) Methods inherited from class org.jivesoftware.smack.provider.IqProvider
parse, parse
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass, toUrl, wrapExceptions
-
Constructor Details
-
PrivacyProvider
public PrivacyProvider()
-
-
Method Details
-
parse
public Privacy parse(XmlPullParser parser, int initialDepth, IqData iqData, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException - Specified by:
parse
in classIqProvider<Privacy>
- Throws:
XmlPullParserException
IOException
-