Class DataFormProvider

java.lang.Object
org.jivesoftware.smack.provider.AbstractProvider<E>
org.jivesoftware.smack.provider.Provider<E>
org.jivesoftware.smack.provider.ExtensionElementProvider<DataForm>
org.jivesoftware.smackx.xdata.provider.DataFormProvider

public class DataFormProvider extends org.jivesoftware.smack.provider.ExtensionElementProvider<DataForm>
The DataFormProvider parses DataForm packets.
  • 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>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final DataFormProvider
     
  • 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.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext)
     
    parseOption(org.jivesoftware.smack.xml.XmlPullParser parser)
     
    parseValue(org.jivesoftware.smack.xml.XmlPullParser parser)
     

    Methods inherited from class org.jivesoftware.smack.provider.Provider

    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
  • Field Details

  • Constructor Details

    • DataFormProvider

      public DataFormProvider()
  • Method Details

    • parse

      public DataForm parse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment, org.jxmpp.JxmppContext jxmppContext) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException
      Specified by:
      parse in class org.jivesoftware.smack.provider.Provider<DataForm>
      Throws:
      org.jivesoftware.smack.xml.XmlPullParserException
      IOException
      org.jivesoftware.smack.parsing.SmackParsingException
    • parseValue

      public static FormField.Value parseValue(org.jivesoftware.smack.xml.XmlPullParser parser) throws IOException, org.jivesoftware.smack.xml.XmlPullParserException
      Throws:
      IOException
      org.jivesoftware.smack.xml.XmlPullParserException
    • parseOption

      public static FormField.Option parseOption(org.jivesoftware.smack.xml.XmlPullParser parser) throws IOException, org.jivesoftware.smack.xml.XmlPullParserException
      Throws:
      IOException
      org.jivesoftware.smack.xml.XmlPullParserException