Package | Description |
---|---|
org.jivesoftware.smackx.mam |
XEP-0313: Message Archive Management.
|
org.jivesoftware.smackx.xdata |
Smacks implementation of XEP-0004: Data Forms.
|
org.jivesoftware.smackx.xdata.packet |
Element classes for XEP-0004: Data Forms.
|
org.jivesoftware.smackx.xdatavalidation.packet |
Element classes for XEP-0122: Data Forms Validation.
|
Modifier and Type | Method and Description |
---|---|
List<FormField> |
MamManager.retrieveFormFields()
Get the form fields supported by the server.
|
List<FormField> |
MamManager.retrieveFormFields(String node)
Get the form fields supported by the server.
|
Modifier and Type | Method and Description |
---|---|
MamManager.MamQueryArgs.Builder |
MamManager.MamQueryArgs.Builder.withAdditionalFormField(FormField formField) |
Modifier and Type | Method and Description |
---|---|
MamManager.MamQueryResult |
MamManager.queryArchive(Integer max,
Date start,
Date end,
org.jxmpp.jid.Jid withJid,
List<FormField> additionalFields)
Deprecated.
use
MamManager.queryArchive(MamQueryArgs) instead. |
MamManager.MamQueryResult |
MamManager.queryArchive(List<FormField> additionalFields)
Deprecated.
use
MamManager.queryArchive(MamQueryArgs) instead. |
MamManager.MamQueryResult |
MamManager.queryArchive(String node,
Integer max,
Date start,
Date end,
org.jxmpp.jid.Jid withJid,
List<FormField> additionalFields)
Deprecated.
use
MamManager.queryArchive(MamQueryArgs) instead. |
MamManager.MamQueryArgs.Builder |
MamManager.MamQueryArgs.Builder.withAdditionalFormFields(List<FormField> additionalFields) |
Modifier and Type | Method and Description |
---|---|
FormField |
Form.getField(String variable)
Returns the field of the form whose variable matches the specified variable.
|
Modifier and Type | Method and Description |
---|---|
List<FormField> |
Form.getFields()
Returns a List of the fields that are part of the form.
|
Modifier and Type | Method and Description |
---|---|
void |
Form.addField(FormField field)
Adds a new field to complete as part of the form.
|
Modifier and Type | Method and Description |
---|---|
FormField |
DataForm.getField(String variableName)
Return the form field with the given variable name or null.
|
FormField |
DataForm.getHiddenFormTypeField()
Returns the hidden FORM_TYPE field or null if this data form has none.
|
Modifier and Type | Method and Description |
---|---|
List<FormField> |
DataForm.getFields()
Returns a List of the fields that are part of the form.
|
List<FormField> |
DataForm.ReportedData.getFields()
Returns the fields returned from a search.
|
List<FormField> |
DataForm.Item.getFields()
Returns the fields that define the data that goes with the item.
|
Modifier and Type | Method and Description |
---|---|
void |
DataForm.addField(FormField field)
Adds a new field as part of the form.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataForm.addFields(Collection<FormField> fieldsToAdd)
Add the given fields to this form.
|
Constructor and Description |
---|
Item(List<FormField> fields) |
ReportedData(List<FormField> fields) |
Modifier and Type | Method and Description |
---|---|
abstract void |
ValidateElement.checkConsistency(FormField formField)
Check if this element is consistent according to the business rules in XEP=0122.
|
void |
ValidateElement.BasicValidateElement.checkConsistency(FormField formField) |
void |
ValidateElement.OpenValidateElement.checkConsistency(FormField formField) |
void |
ValidateElement.RangeValidateElement.checkConsistency(FormField formField) |
void |
ValidateElement.RegexValidateElement.checkConsistency(FormField formField) |
protected void |
ValidateElement.checkListRangeConsistency(FormField formField)
The >list-range/< element SHOULD be included only when the <field/> is of type "list-multi" and SHOULD be ignored
otherwise.
|
protected void |
ValidateElement.checkNonMultiConsistency(FormField formField,
String method) |