|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ConfigureNodeFields> org.jivesoftware.smackx.pubsub.ConfigureNodeFields
public enum 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 Form
for configuration.
Enum Constant Summary | |
---|---|
access_model
Determines who may subscribe and retrieve items |
|
body_xslt
The URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element |
|
children
The child nodes (leaf or collection) associated with a collection |
|
children_association_policy
Who may associate leaf nodes with a collection |
|
children_association_whitelist
The list of JIDs that may associate leaf nodes with a collection |
|
children_max
The maximum number of child nodes that can be associated with a collection |
|
collection
The collection with which a node is affiliated |
|
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. |
|
deliver_payloads
Whether to deliver payloads with event notifications |
|
itemreply
Whether owners or publisher should receive replies to items |
|
max_items
The maximum number of items to persist |
|
max_payload_size
The maximum payload size in bytes |
|
node_type
Whether the node is a leaf (default) or collection |
|
notify_config
Whether to notify subscribers when the node configuration changes |
|
notify_delete
Whether to notify subscribers when the node is deleted |
|
notify_retract
Whether to notify subscribers when items are removed from the node |
|
persist_items
Whether to persist items to storage. |
|
presence_based_delivery
Whether to deliver notifications to available users only |
|
publish_model
Defines who can publish to the node |
|
replyroom
The specific multi-user chat rooms to specify for replyroom |
|
replyto
The specific JID(s) to specify for replyto |
|
roster_groups_allowed
The roster group(s) allowed to subscribe and retrieve items |
|
subscribe
Whether to allow subscriptions |
|
title
A friendly name for the node |
|
type
The type of node data, ussually specified by the namespace of the payload(if any);MAY be a list-single rather than a text single |
Method Summary | |
---|---|
String |
getFieldName()
|
static ConfigureNodeFields |
valueOf(String name)
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ConfigureNodeFields access_model
Value: AccessModel
public static final ConfigureNodeFields body_xslt
Value: URL
public static final ConfigureNodeFields collection
Value: String
public static final ConfigureNodeFields dataform_xslt
Value: URL
public static final ConfigureNodeFields deliver_payloads
Value: boolean
public static final ConfigureNodeFields itemreply
Value: ItemReply
public static final ConfigureNodeFields children_association_policy
Value: ChildrenAssociationPolicy
public static final ConfigureNodeFields children_association_whitelist
Value: List of JIDs as Strings
public static final ConfigureNodeFields children
Value: List of Strings
public static final ConfigureNodeFields children_max
Value: int
public static final ConfigureNodeFields max_items
Value: int
public static final ConfigureNodeFields max_payload_size
Value: int
public static final ConfigureNodeFields node_type
Value: NodeType
public static final ConfigureNodeFields notify_config
Value: boolean
public static final ConfigureNodeFields notify_delete
Value: boolean
public static final ConfigureNodeFields notify_retract
Value: boolean
public static final ConfigureNodeFields persist_items
Value: boolean
public static final ConfigureNodeFields presence_based_delivery
Value: boolean
public static final ConfigureNodeFields publish_model
Value: PublishModel
public static final ConfigureNodeFields replyroom
Value: List of JIDs as Strings
public static final ConfigureNodeFields replyto
Value: List of JIDs as Strings
public static final ConfigureNodeFields roster_groups_allowed
Value: List of strings
public static final ConfigureNodeFields subscribe
Value: boolean
public static final ConfigureNodeFields title
Value: String
public static final ConfigureNodeFields type
Value: String
Method Detail |
---|
public static ConfigureNodeFields[] values()
for (ConfigureNodeFields c : ConfigureNodeFields.values()) System.out.println(c);
public static ConfigureNodeFields valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getFieldName()
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |