Package org.jivesoftware.smackx.xdata
package org.jivesoftware.smackx.xdata
Smacks API for Data Forms (XEP-0004).
XMPP data forms allow the exchange of structured data between users and applications for common tasks such as registration, searching user forms, or answering a questionnaire.
Create a Form to fill out
Description
An XMPP entity may need to gather data from another XMPP entity. Therefore, the data-gathering entity will need to create a new Form, specify the fields that will conform to the Form and finally send the Form to the data-providing entity.
Usage
TODOExample
Answer a Form
Description
Under many situations an XMPP entity could receive a form to fill out. For example, some hosts may require to fill out a form in order to register new users. Smack lets the data-providing entity to complete the form in an easy way and send it back to the data-gathering entity.
Usage
TODOExample
- See Also:
-
ClassDescriptionAbstractSingleStringValueFormField.Builder<F extends SingleValueFormField,
B extends SingleValueFormField.Builder<F, B>> Represents a field of a form.Represents the available options of aListSingleFormField
andListMultiFormField
.Form Field Types as defined in XEP-4 ยง 3.3.SingleValueFormField.Builder<F extends SingleValueFormField,B extends SingleValueFormField.Builder<F, B>>