Package org.nuxeo.ecm.webengine.ui.json
Class JQueryTreeBuilder<T>
- java.lang.Object
-
- org.nuxeo.ecm.webengine.ui.json.JQueryTreeBuilder<T>
-
- Direct Known Subclasses:
DocumentTreeBuilder
public abstract class JQueryTreeBuilder<T> extends Object
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description JQueryTreeBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<Map<String,Object>>
buildChildren(T parent)
List<Map<String,Object>>
buildChildren(T parent, String[] path, int off)
List<Map<String,Object>>
buildTree(T root, String path)
protected abstract Collection<T>
getChildren(T obj)
protected abstract String
getName(T obj)
protected abstract T
getObject(String name)
protected abstract Map<String,Object>
toJson(T obj)
-
-
-
Field Detail
-
CHILDREN
public static final String CHILDREN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getChildren
protected abstract Collection<T> getChildren(T obj)
-
-