congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ConfigureForm.getFieldValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getFieldValue
method
in
org.jivesoftware.smackx.pubsub.ConfigureForm

Best Java code snippets using org.jivesoftware.smackx.pubsub.ConfigureForm.getFieldValue (Showing top 20 results out of 315)

origin: igniterealtime/Smack

/**
 * 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.
 *
 * @return The URL of an XSL transformation
 */
public String getDataformXSLT() {
  return getFieldValue(ConfigureNodeFields.dataform_xslt);
}
origin: igniterealtime/Smack

/**
 * Gets the human readable node title.
 *
 * @return The node title
 */
@Override
public String getTitle() {
  return getFieldValue(ConfigureNodeFields.title);
}
origin: igniterealtime/Smack

/**
 * Returns the URL of an XSL transformation which can be applied to payloads in order to
 * generate an appropriate message body element.
 *
 * @return URL to an XSL
 */
public String getBodyXSLT() {
  return getFieldValue(ConfigureNodeFields.body_xslt);
}
origin: igniterealtime/Smack

/**
 * Gets the collection node which the node is affiliated with.
 *
 * @return The collection node id
 */
public String getCollection() {
  return getFieldValue(ConfigureNodeFields.collection);
}
origin: igniterealtime/Smack

/**
 * Gets the maximum number of items to persisted to this node if {@link #isPersistItems()} is
 * true.
 *
 * @return The maximum number of items to persist
 */
public int getMaxItems() {
  return Integer.parseInt(getFieldValue(ConfigureNodeFields.max_items));
}
origin: igniterealtime/Smack

/**
 * Gets the maximum payload size in bytes.
 *
 * @return The maximum payload size
 */
public int getMaxPayloadSize() {
  return Integer.parseInt(getFieldValue(ConfigureNodeFields.max_payload_size));
}
origin: igniterealtime/Smack

/**
 * Gets the maximum number of child nodes that can be associated with the collection node.
 *
 * @return The maximum number of child nodes
 */
public int getChildrenMax() {
  return Integer.parseInt(getFieldValue(ConfigureNodeFields.children_max));
}
origin: igniterealtime/Smack

/**
 * Does the node deliver payloads with event notifications.
 *
 * @return true if it does, false otherwise
 */
public boolean isDeliverPayloads() {
  return parseBoolean(getFieldValue(ConfigureNodeFields.deliver_payloads));
}
origin: igniterealtime/Smack

/**
 * Determines if subscriptions are allowed.
 *
 * @return true if subscriptions are allowed, false otherwise
 */
public boolean isSubscribe() {
  return parseBoolean(getFieldValue(ConfigureNodeFields.subscribe));
}
origin: igniterealtime/Smack

/**
 * Get the currently configured {@link AccessModel}, null if it is not set.
 *
 * @return The current {@link AccessModel}
 */
public AccessModel getAccessModel() {
  String value = getFieldValue(ConfigureNodeFields.access_model);
  if (value == null)
    return null;
  else
    return AccessModel.valueOf(value);
}
origin: igniterealtime/Smack

/**
 * Returns the policy that determines who may associate children with the node.
 *
 * @return The current policy
 */
public ChildrenAssociationPolicy getChildrenAssociationPolicy() {
  String value = getFieldValue(ConfigureNodeFields.children_association_policy);
  if (value == null)
    return null;
  else
    return ChildrenAssociationPolicy.valueOf(value);
}
origin: igniterealtime/Smack

/**
 * Gets the publishing model for the node, which determines who may publish to it.
 *
 * @return The publishing model
 */
public PublishModel getPublishModel() {
  String value = getFieldValue(ConfigureNodeFields.publish_model);
  if (value == null)
    return null;
  else
    return PublishModel.valueOf(value);
}
origin: igniterealtime/Smack

/**
 * Determines who should get replies to items.
 *
 * @return Who should get the reply
 */
public ItemReply getItemReply() {
  String value = getFieldValue(ConfigureNodeFields.itemreply);
  if (value == null)
    return null;
  else
    return ItemReply.valueOf(value);
}
origin: igniterealtime/Smack

/**
 * Gets the node type.
 *
 * @return The node type
 */
public NodeType getNodeType() {
  String value = getFieldValue(ConfigureNodeFields.node_type);
  if (value == null)
    return null;
  else
    return NodeType.valueOf(value);
}
origin: igniterealtime/Smack

/**
 * Determines whether subscribers should be notified when the node is deleted.
 *
 * @return true if subscribers should be notified, false otherwise
 */
public boolean isNotifyDelete() {
  return parseBoolean(getFieldValue(ConfigureNodeFields.notify_delete));
}
origin: igniterealtime/Smack

/**
 * Determines if subscribers should be notified when the configuration changes.
 *
 * @return true if they should be notified, false otherwise
 */
public boolean isNotifyConfig() {
  return parseBoolean(getFieldValue(ConfigureNodeFields.notify_config));
}
origin: igniterealtime/Smack

/**
 * Determines the type of notifications which are sent.
 *
 * @return NotificationType for the node configuration
 * @since 4.3
 */
public NotificationType getNotificationType() {
  String value = getFieldValue(ConfigureNodeFields.notification_type);
  if (value == null)
    return null;
  return NotificationType.valueOf(value);
}
origin: igniterealtime/Smack

/**
 * Determines whether subscribers should be notified when items are deleted
 * from the node.
 *
 * @return true if subscribers should be notified, false otherwise
 */
public boolean isNotifyRetract() {
  return parseBoolean(getFieldValue(ConfigureNodeFields.notify_retract));
}
origin: igniterealtime/Smack

/**
 * Determines whether items should be persisted in the node.
 *
 * @return true if items are persisted
 */
public boolean isPersistItems() {
  return parseBoolean(getFieldValue(ConfigureNodeFields.persist_items));
}
origin: igniterealtime/Smack

/**
 * Determines whether to deliver notifications to available users only.
 *
 * @return true if users must be available
 */
public boolean isPresenceBasedDelivery() {
  return parseBoolean(getFieldValue(ConfigureNodeFields.presence_based_delivery));
}
org.jivesoftware.smackx.pubsubConfigureFormgetFieldValue

Popular methods of ConfigureForm

  • <init>
    Create a decorator from an existing DataForm that has been retrieved from parsing a node configurati
  • addField
  • getDataFormToSend
  • getField
  • getFieldValues
  • getFields
  • getListSingle
  • parseBoolean
  • setAccessModel
    Sets the value of access model.
  • setAnswer
  • setPersistentItems
    Sets whether items should be persisted in the node.
  • setDeliverPayloads
    Sets whether the node will deliver payloads with event notifications.
  • setPersistentItems,
  • setDeliverPayloads,
  • createAnswerForm,
  • getAccessModel,
  • getChildrenAssociationPolicy,
  • getNotificationType,
  • isSubscribe,
  • setChildrenAssociationPolicy,
  • setNotificationType

Popular in Java

  • Reading from database using SQL prepared statement
  • setContentView (Activity)
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Permission (java.security)
    Legacy security code; do not use.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • ImageIO (javax.imageio)
  • JCheckBox (javax.swing)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now