Class DataFormProvider
- java.lang.Object
-
- org.jivesoftware.smack.provider.AbstractProvider<E>
-
- org.jivesoftware.smack.provider.Provider<EE>
-
- org.jivesoftware.smack.provider.ExtensionElementProvider<DataForm>
-
- org.jivesoftware.smackx.xdata.provider.DataFormProvider
-
public class DataFormProvider extends ExtensionElementProvider<DataForm>
The DataFormProvider parses DataForm packets.
-
-
Field Summary
Fields Modifier and Type Field Description static DataFormProvider
INSTANCE
-
Constructor Summary
Constructors Constructor Description DataFormProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataForm
parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
static FormField.Option
parseOption(XmlPullParser parser)
static FormField.Value
parseValue(XmlPullParser parser)
-
Methods inherited from class org.jivesoftware.smack.provider.AbstractProvider
getElementClass
-
-
-
-
Field Detail
-
INSTANCE
public static final DataFormProvider INSTANCE
-
-
Constructor Detail
-
DataFormProvider
public DataFormProvider()
-
-
Method Detail
-
parse
public DataForm parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, java.io.IOException, SmackParsingException
- Specified by:
parse
in classProvider<DataForm>
- Throws:
XmlPullParserException
java.io.IOException
SmackParsingException
-
parseValue
public static FormField.Value parseValue(XmlPullParser parser) throws java.io.IOException, XmlPullParserException
- Throws:
java.io.IOException
XmlPullParserException
-
parseOption
public static FormField.Option parseOption(XmlPullParser parser) throws java.io.IOException, XmlPullParserException
- Throws:
java.io.IOException
XmlPullParserException
-
-