public static final class NodeMetaData.Builder extends DataForm.Builder<NodeMetaData.Builder>
DataForm.Type.RESULT.| Modifier and Type | Method and Description |
|---|---|
NodeMetaData |
build()
Builds the meta data form.
|
NodeMetaData.Builder |
contacts(Collection<rocks.xmpp.addr.Jid> contacts)
The JIDs of those to contact with questions.
|
NodeMetaData.Builder |
creationDate(Instant creationDate)
The datetime when the node was created.
|
NodeMetaData.Builder |
creator(rocks.xmpp.addr.Jid creator)
The JID of the node creator.
|
NodeMetaData.Builder |
description(String description)
A description of the node.
|
NodeMetaData.Builder |
language(Locale language)
The default language of the node.
|
NodeMetaData.Builder |
nodeTitle(String title)
The name of the node.
|
NodeMetaData.Builder |
numberOfSubscribers(int numberOfSubscribers)
The number of subscribers to the node.
|
NodeMetaData.Builder |
owners(Collection<rocks.xmpp.addr.Jid> owners)
The JIDs of those with an affiliation of owner.
|
NodeMetaData.Builder |
payloadType(String payloadType)
The payload type.
|
NodeMetaData.Builder |
publishers(Collection<rocks.xmpp.addr.Jid> publishers)
The JIDs of those with an affiliation of publisher.
|
fields, formType, instructions, items, pages, reportedFields, title, typepublic final NodeMetaData.Builder contacts(Collection<rocks.xmpp.addr.Jid> contacts)
contacts - The contacts.public final NodeMetaData.Builder creationDate(Instant creationDate)
creationDate - The creation date.public final NodeMetaData.Builder creator(rocks.xmpp.addr.Jid creator)
creator - The creator.public final NodeMetaData.Builder description(String description)
description - The description.public final NodeMetaData.Builder language(Locale language)
language - The language.public final NodeMetaData.Builder numberOfSubscribers(int numberOfSubscribers)
numberOfSubscribers - The number of subscribers to the node.public final NodeMetaData.Builder owners(Collection<rocks.xmpp.addr.Jid> owners)
owners - The owners.public final NodeMetaData.Builder publishers(Collection<rocks.xmpp.addr.Jid> publishers)
publishers - The publishers.public final NodeMetaData.Builder nodeTitle(String title)
title - The title.public final NodeMetaData.Builder payloadType(String payloadType)
payloadType - The payload type.public final NodeMetaData build()
Copyright © 2014–2017 XMPP.rocks. All rights reserved.