Package org.jivesoftware.smackx.pubsub
Enum ConfigureNodeFields
- All Implemented Interfaces:
Serializable
,Comparable<ConfigureNodeFields>
This enumeration represents all the fields of a node configuration form. This enumeration
is not required when using the
ConfigureForm
to configure nodes, but may be helpful
for generic UI's using only a FilledForm
for configuration.-
Enum Constant Summary
Enum ConstantDescriptionDetermines who may subscribe and retrieve items.The URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.The child nodes (leaf or collection) associated with a collection.Who may associate leaf nodes with a collection.The list of JIDs that may associate leaf nodes with a collection.The maximum number of child nodes that can be associated with a collection.The collection with which a node is affiliated.The URL of an XSL transformation which can be applied to payload format in order to generate a valid Data Forms result that the client could display using a generic Data Forms rendering engine body element.Whether to deliver payloads with event notifications.Whether owners or publisher should receive replies to items.The maximum number of items to persist.The maximum payload size in bytes.Whether the node is a leaf (default) or collection.The type of notification that the nodes sends.Whether to notify subscribers when the node configuration changes.Whether to notify subscribers when the node is deleted.Whether to notify subscribers when items are removed from the node.Whether to persist items to storage.Whether to deliver notifications to available users only.Defines who can publish to the node.The roster group(s) allowed to subscribe and retrieve items.Whether to allow subscriptions.A friendly name for the node.The type of node data, usually specified by the namespace of the payload(if any);MAY be a list-single rather than a text single. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigureNodeFields
Returns the enum constant of this type with the specified name.static ConfigureNodeFields[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
access_model
Determines who may subscribe and retrieve items.Value:
AccessModel
-
body_xslt
The URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.Value:
URL
-
collection
The collection with which a node is affiliated.Value: String
-
dataform_xslt
The URL of an XSL transformation which can be applied to payload format in order to generate a valid Data Forms result that the client could display using a generic Data Forms rendering engine body element.Value:
URL
-
deliver_payloads
Whether to deliver payloads with event notifications.Value: boolean
-
itemreply
Whether owners or publisher should receive replies to items.Value:
ItemReply
-
children_association_policy
Who may associate leaf nodes with a collection.Value:
ChildrenAssociationPolicy
-
children_association_whitelist
The list of JIDs that may associate leaf nodes with a collection.Value: List of JIDs as Strings
-
children
The child nodes (leaf or collection) associated with a collection.Value: List of Strings
-
children_max
The maximum number of child nodes that can be associated with a collection.Value: int
-
max_items
The maximum number of items to persist.Value: int
-
max_payload_size
The maximum payload size in bytes.Value: int
-
node_type
Whether the node is a leaf (default) or collection.Value:
NodeType
-
notify_config
Whether to notify subscribers when the node configuration changes.Value: boolean
-
notify_delete
Whether to notify subscribers when the node is deleted.Value: boolean
-
notify_retract
Whether to notify subscribers when items are removed from the node.Value: boolean
-
notification_type
The type of notification that the nodes sends.Value:
NotificationType
-
persist_items
Whether to persist items to storage. This is required to have. multiple items in the node.Value: boolean
-
presence_based_delivery
Whether to deliver notifications to available users only.Value: boolean
-
publish_model
Defines who can publish to the node.Value:
PublishModel
-
roster_groups_allowed
The roster group(s) allowed to subscribe and retrieve items.Value: List of strings
-
subscribe
Whether to allow subscriptions.Value: boolean
-
title
A friendly name for the node.Value: String
-
type
The type of node data, usually specified by the namespace of the payload(if any);MAY be a list-single rather than a text single.Value: String
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getFieldName
-