Class AutomateCommon

java.lang.Object
com.contentstack.utils.AutomateCommon

public class AutomateCommon extends Object
  • Method Details

    • findContent

      protected static void findContent(org.json.JSONObject entryObj, String path, ContentCallback contentCallback)
      Find dot separated keys
      Parameters:
      entryObj - Json Object
      path - keyPath
      contentCallback - content callback
    • getStringOption

      protected static String getStringOption(Option option, Metadata metadata, org.json.JSONObject contentToPass)
    • getEmbeddedObjects

      protected static void getEmbeddedObjects(org.jsoup.nodes.Document html, MetadataCallback metadataCallback)
    • enumerateContents

      protected static Object enumerateContents(org.json.JSONArray contentArray, Option renderObject, MetaToEmbedCallback item)
    • enumerateContent

      protected static String enumerateContent(org.json.JSONObject jsonObject, Option renderObject, MetaToEmbedCallback item)