Interface ConfigureFormReader
- All Superinterfaces:
FormReader
- All Known Implementing Classes:
ConfigureForm
,FillableConfigureForm
,FilledConfigureForm
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault AccessModel
Get the currently configuredAccessModel
, null if it is not set.default String
Returns the URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.The id's of the child nodes associated with a collection node (both leaf and collection).default ChildrenAssociationPolicy
Returns the policy that determines who may associate children with the node.List of JID's that are on the whitelist that determines who can associate child nodes with the collection node.default Integer
Gets the maximum number of child nodes that can be associated with the collection node.default List<? extends CharSequence>
Gets the collection node which the node is affiliated with.default String
Gets the URL of an XSL transformation which can be applied to the payload format in order to generate a valid Data Forms result that the client could display using a generic Data Forms rendering engine.default String
The type of node data, usually specified by the namespace of the payload (if any).default ItemReply
Determines who should get replies to items.default Integer
Gets the maximum number of items to persisted to this node ifisPersistItems()
is true.default Integer
Gets the maximum payload size in bytes.default NodeType
Gets the node type.default NotificationType
Determines the type of notifications which are sent.default PublishModel
Gets the publishing model for the node, which determines who may publish to it.Gets the roster groups that are allowed to subscribe and retrieve items.default String
getTitle()
Gets the human readable node title.default Boolean
Does the node deliver payloads with event notifications.default Boolean
Determines if subscribers should be notified when the configuration changes.default Boolean
Determines whether subscribers should be notified when the node is deleted.default Boolean
Determines whether subscribers should be notified when items are deleted from the node.default boolean
Determines whether items should be persisted in the node.default boolean
Determines whether to deliver notifications to available users only.default boolean
Determines if subscriptions are allowed.Methods inherited from interface org.jivesoftware.smackx.xdata.form.FormReader
getField, readBoolean, readDate, readFirstValue, readInteger, readStringValues, readValues
-
Field Details
-
FORM_TYPE
- See Also:
-
-
Method Details
-
getAccessModel
Get the currently configuredAccessModel
, null if it is not set.- Returns:
- The current
AccessModel
-
getBodyXSLT
Returns the URL of an XSL transformation which can be applied to payloads in order to generate an appropriate message body element.- Returns:
- URL to an XSL
-
getChildren
The id's of the child nodes associated with a collection node (both leaf and collection).- Returns:
- list of child nodes.
-
getChildrenAssociationPolicy
Returns the policy that determines who may associate children with the node.- Returns:
- The current policy
-
getChildrenAssociationWhitelist
List of JID's that are on the whitelist that determines who can associate child nodes with the collection node. This is only relevant ifgetChildrenAssociationPolicy()
is set toChildrenAssociationPolicy.whitelist
.- Returns:
- List of the whitelist
-
getChildrenMax
Gets the maximum number of child nodes that can be associated with the collection node.- Returns:
- The maximum number of child nodes
-
getCollection
Gets the collection node which the node is affiliated with.- Returns:
- The collection node id
-
getDataformXSLT
Gets the URL of an XSL transformation which can be applied to the payload format in order to generate a valid Data Forms result that the client could display using a generic Data Forms rendering engine.- Returns:
- The URL of an XSL transformation
-
isDeliverPayloads
Does the node deliver payloads with event notifications.- Returns:
- true if it does, false otherwise
-
getItemReply
Determines who should get replies to items.- Returns:
- Who should get the reply
-
getMaxItems
Gets the maximum number of items to persisted to this node ifisPersistItems()
is true.- Returns:
- The maximum number of items to persist
-
getMaxPayloadSize
Gets the maximum payload size in bytes.- Returns:
- The maximum payload size
-
getNodeType
Gets the node type.- Returns:
- The node type
-
isNotifyConfig
Determines if subscribers should be notified when the configuration changes.- Returns:
- true if they should be notified, false otherwise
-
isNotifyDelete
Determines whether subscribers should be notified when the node is deleted.- Returns:
- true if subscribers should be notified, false otherwise
-
isNotifyRetract
Determines whether subscribers should be notified when items are deleted from the node.- Returns:
- true if subscribers should be notified, false otherwise
-
getNotificationType
Determines the type of notifications which are sent.- Returns:
- NotificationType for the node configuration
- Since:
- 4.3
-
isPersistItems
Determines whether items should be persisted in the node.- Returns:
- true if items are persisted
-
isPresenceBasedDelivery
Determines whether to deliver notifications to available users only.- Returns:
- true if users must be available
-
getPublishModel
Gets the publishing model for the node, which determines who may publish to it.- Returns:
- The publishing model
-
getRosterGroupsAllowed
Gets the roster groups that are allowed to subscribe and retrieve items.- Returns:
- The roster groups
-
isSubscribe
Determines if subscriptions are allowed.- Returns:
- true if subscriptions are allowed, false otherwise
-
getTitle
Gets the human readable node title.- Returns:
- The node title
-
getDataType
The type of node data, usually specified by the namespace of the payload (if any).- Returns:
- The type of node data
-