All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.contentstack.utils.interfaces.NodeCallback Maven / Gradle / Ivy

package com.contentstack.utils.interfaces;

import org.json.JSONArray;

/**
 * The interface Node callback.
 */
public interface NodeCallback {

    /**
     * The function takes a JSONArray of nodes and returns a string representation of their children.
     *
     * @param nodeJsonArray The `nodeJsonArray` parameter is a JSONArray object that contains a
     *                      collection of JSON objects representing nodes. Each JSON object represents a node and contains
     *                      information about the node's properties and children.
     * @return The method is returning a String.
     */
    String renderChildren(JSONArray nodeJsonArray);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy