Class 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 java.lang.Object>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DataForm parse​(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment)  
      static FormField.Option parseOption​(org.jivesoftware.smack.xml.XmlPullParser parser)  
      static FormField.Value 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, wrapExceptions
      • Methods inherited from class java.lang.Object

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

      • DataFormProvider

        public DataFormProvider()
    • Method Detail

      • parse

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

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

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