Class PrivacyProvider

java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<Privacy>
org.jivesoftware.smack.provider.IqProvider<Privacy>
org.jivesoftware.smackx.privacy.provider.PrivacyProvider

public class PrivacyProvider extends org.jivesoftware.smack.provider.IqProvider<Privacy>
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

    org.jivesoftware.smack.provider.AbstractProvider.NumberFormatParseException, org.jivesoftware.smack.provider.AbstractProvider.TextParseException, org.jivesoftware.smack.provider.AbstractProvider.WrappableParser<E>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.IqData iqData, org.jivesoftware.smack.packet.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PrivacyProvider

      public PrivacyProvider()
  • Method Details

    • parse

      public Privacy parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.IqData iqData, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException
      Specified by:
      parse in class org.jivesoftware.smack.provider.IqProvider<Privacy>
      Throws:
      org.jivesoftware.smack.xml.XmlPullParserException
      IOException