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
The DataFormProvider parses DataForm packets.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.provider.AbstractProvider
AbstractProvider.NumberFormatParseException, AbstractProvider.TextParseException, AbstractProvider.WrappableParser<E>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(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, toUrl, wrapExceptions
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DataFormProvider
public DataFormProvider()
-
-
Method Details
-
parse
public DataForm parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment) throws XmlPullParserException, IOException, SmackParsingException - Specified by:
parse
in classProvider<DataForm>
- Throws:
XmlPullParserException
IOException
SmackParsingException
-
parseValue
public static FormField.Value parseValue(XmlPullParser parser) throws IOException, XmlPullParserException - Throws:
IOException
XmlPullParserException
-
parseOption
public static FormField.Option parseOption(XmlPullParser parser) throws IOException, XmlPullParserException - Throws:
IOException
XmlPullParserException
-