T - The sub builder.public abstract static class DataForm.Builder<T extends DataForm.Builder<T>> extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
T |
fields(Collection<DataForm.Field> fields)
Sets the fields.
|
T |
formType(String formType)
Sets the form type.
|
T |
instructions(Collection<String> instructions)
Sets the instructions of the form.
|
T |
items(Collection<DataForm.Item> items)
Sets the items of the form.
|
T |
pages(Collection<Page> pages)
Sets the pages of the form.
|
T |
reportedFields(Collection<DataForm.Field> reportedFields)
Sets the reported fields of the form.
|
T |
title(String title)
Sets the title of the form.
|
T |
type(DataForm.Type type)
Sets the type of the form.
|
public final T fields(Collection<DataForm.Field> fields)
fields - The fields.public final T formType(String formType)
formType - The form type.public final T type(DataForm.Type type)
type - The data form type.public final T title(String title)
title - The title.public final T instructions(Collection<String> instructions)
instructions - The instructions.public final T pages(Collection<Page> pages)
pages - The pages.public final T items(Collection<DataForm.Item> items)
items - The items.public final T reportedFields(Collection<DataForm.Field> reportedFields)
reportedFields - The reported fields.Copyright © 2014–2016 XMPP.rocks. All rights reserved.