Package | Description |
---|---|
rocks.xmpp.extensions.data.model |
Provides XML schema implementations of XEP-0004: Data Forms.
|
Modifier and Type | Method and Description |
---|---|
DataForm.Field |
DataForm.Field.Builder.build()
Builds the field.
|
DataForm.Field |
DataForm.findField(java.lang.String name)
Finds a field by its name (‘ver’ attribute).
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DataForm.Field> |
DataForm.getFields()
Gets the fields of the form.
|
java.util.List<DataForm.Field> |
DataForm.Item.getFields()
Gets the fields.
|
java.util.List<DataForm.Field> |
DataForm.getReportedFields()
Gets the reported fields, which can be understood as “table headers” describing the data to follow.
|
Modifier and Type | Method and Description |
---|---|
int |
DataForm.Field.compareTo(DataForm.Field o) |
Modifier and Type | Method and Description |
---|---|
T |
DataForm.Builder.fields(java.util.Collection<DataForm.Field> fields)
Sets the fields.
|
T |
DataForm.Builder.reportedFields(java.util.Collection<DataForm.Field> reportedFields)
Sets the reported fields of the form.
|
Constructor and Description |
---|
DataForm(DataForm.Type type,
java.util.Collection<DataForm.Field> fields)
Creates a data form.
|
DataForm(DataForm.Type type,
java.lang.String title,
java.util.Collection<DataForm.Field> fields,
java.util.Collection<DataForm.Field> reportedFields,
java.util.Collection<DataForm.Item> items,
java.util.Collection<java.lang.String> instructions,
java.util.Collection<Page> pages) |
DataForm(DataForm.Type type,
java.lang.String title,
java.util.Collection<DataForm.Field> fields,
java.util.Collection<DataForm.Field> reportedFields,
java.util.Collection<DataForm.Item> items,
java.util.Collection<java.lang.String> instructions,
java.util.Collection<Page> pages) |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.