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> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) static FormField.OptionparseOption(org.jivesoftware.smack.xml.XmlPullParser parser) static FormField.ValueparseValue(org.jivesoftware.smack.xml.XmlPullParser parser) Methods inherited from class org.jivesoftware.smack.provider.Provider
parse, parseMethods 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(org.jivesoftware.smack.xml.XmlPullParser parser, int initialDepth, org.jivesoftware.smack.packet.XmlEnvironment xmlEnvironment) throws org.jivesoftware.smack.xml.XmlPullParserException, IOException, org.jivesoftware.smack.parsing.SmackParsingException - Specified by:
parsein classorg.jivesoftware.smack.provider.Provider<DataForm>- Throws:
org.jivesoftware.smack.xml.XmlPullParserExceptionIOExceptionorg.jivesoftware.smack.parsing.SmackParsingException
-
parseValue
public static FormField.Value parseValue(org.jivesoftware.smack.xml.XmlPullParser parser) throws IOException, org.jivesoftware.smack.xml.XmlPullParserException - Throws:
IOExceptionorg.jivesoftware.smack.xml.XmlPullParserException
-
parseOption
public static FormField.Option parseOption(org.jivesoftware.smack.xml.XmlPullParser parser) throws IOException, org.jivesoftware.smack.xml.XmlPullParserException - Throws:
IOExceptionorg.jivesoftware.smack.xml.XmlPullParserException
-