Lines Matching defs:Node

75   * @return A root Node for the project containing its metadata and tree structure. 
77 public Node setSamplesTOC(boolean offlineMode) {
78 List<Node> filelist = new ArrayList<Node>();
91 Node rootNode = writeSampleIndexCs(hdf, f,
92 new Node.Builder().setLabel(mProjectDir).setLink(link).setChildren(filelist).build(),false);
105 List<Node> filelist = new ArrayList<Node>();
126 //Write root _index.jd to out and add metadata to Node.
128 new Node.Builder().setLabel(mProjectDir).setLink(link).build(), true);
132 * Given the root Node for a sample code project, iterates through the project
137 * @param parent The root Node that represents this sample code project.
141 public void setProjectStructure(List<Node> parent, File dir, String relative) {
154 parent.add(new Node.Builder().setLabel(name).setLink(ClearPage.toroot + link).build());
157 List<Node> mchildren = new ArrayList<Node>();
161 parent.add(new Node.Builder().setLabel(name).setLink(ClearPage.toroot
243 List<Node> mchildren = new ArrayList<Node>();
274 * @param tnode A Node to serve as the project's root node.
279 public Node writeSampleIndexCs(Data hdf, File dir, Node tnode, boolean writeFiles) {
418 public static void writeSamplesNavTree(List<Node> tnode, List<Node> groupnodes) {
420 Node node = new Node.Builder().setLabel("Samples").setLink(ClearPage.toroot
454 private static List<Node> appendNodeGroups(Node gNode, List<Node> groupnodes) {
455 List<Node> mgrouplist = new ArrayList<Node>();
490 public static Comparator<Node> byLabel = new Comparator<Node>() {
491 public int compare(Node one, Node other) {
499 public static List<Node> squashNodes(List<Node> tnode) {
500 List<Node> list = tnode;
574 public static class Node {
578 private List<Node> mChildren;
581 private Node(Builder builder) {
591 private List<Node> mChildren = null;
595 public Builder setChildren(List<Node> mChildren) { this.mChildren = mChildren; return this;}
597 public Node build() {return new Node(this);}
606 List<Node> list = mChildren;
634 List<Node> list = mChildren;
662 List<Node> list = mChildren;
691 * Node getters and setters
717 public List<Node> getChildren() {
721 public void setChildren(List<Node> node) {