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

TODO

Example

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

TODO

Example

See Also:
XEP-0004: Data Forms