org.nasdanika.html.jstree.impl.JsTreeNodeImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jstree Show documentation
Show all versions of jstree Show documentation
Classes for generating JsTree nodes and context menus.
package org.nasdanika.html.jstree.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.function.Predicate;
import org.json.JSONArray;
import org.json.JSONObject;
import org.nasdanika.html.jstree.JsTreeNode;
class JsTreeNodeImpl implements JsTreeNode {
private Object id;
private Object text;
private Map attributes = new HashMap<>();
private Map aAttributes = new HashMap<>();
private Map liAttributes = new HashMap<>();
private Object data;
private Map