Examples of children()


Examples of org.codinjutsu.tools.mongo.view.model.JsonTreeNode.children()

        JsonTreeNode parentNode = getParentNode();
        if (parentNode == null) {
            return false;
        }

        Enumeration children = parentNode.children();
        while(children.hasMoreElements()) {
            JsonTreeNode childNode = (JsonTreeNode) children.nextElement();
            MongoNodeDescriptor descriptor = childNode.getDescriptor();
            if(descriptor instanceof MongoKeyValueDescriptor) {
                MongoKeyValueDescriptor keyValueDescriptor = (MongoKeyValueDescriptor) descriptor;
View Full Code Here

Examples of org.crsh.vfs.File.children()

  void refresh() {
    try {
      File commands = cmdFS.get(Path.get("/"));
      List<File> newDirs = new ArrayList<File>();
      newDirs.add(commands);
      for (File path : commands.children()) {
        if (path.children().iterator().hasNext()) {
          newDirs.add(path);
        }
      }
      dirs = newDirs;
View Full Code Here

Examples of org.crsh.vfs.spi.url.URLDriver.children()

    Node root = driver.root();
    assertEquals("", driver.name(root));
    assertTrue(driver.isDir(root));

    //
    Iterator<Node> rootChildren = driver.children(root).iterator();
    Node org = rootChildren.next();
    assertFalse(rootChildren.hasNext());
    assertEquals("org", driver.name(org));
    assertTrue(driver.isDir(org));
View Full Code Here

Examples of org.dbwiki.data.database.DatabaseGroupNode.children()

      this.printUpdateLine((DatabaseAttributeNode)element, body);
      body.closeTABLE();
    } else {
      body.openTABLE(layout.getCSS(CSS.CSSObjectFrame));
      DatabaseGroupNode group = (DatabaseGroupNode)element;
      for (int iChild = 0; iChild < group.children().size(); iChild++) {
        DatabaseElementNode child = group.children().get(iChild);
        if (child.getTimestamp().isCurrent()) {
          if (child.isAttribute()) {
            body.openTR();
            body.openTD(layout.getCSS(CSS.CSSObjectListing));
View Full Code Here

Examples of org.dbwiki.data.database.ResultAttributeNode.children()

        outputNode = result;
      } else if(node.isGroup()) {
        ResultGroupNode result = new ResultGroupNode((GroupSchemaNode)_schema, node.getTimestamp());
        DatabaseElementList children = ((DatabaseGroupNode)node).children();
        for(int i = 0; i < children.size(); i++) {
          result.children().add(children.get(i));
        }
        outputNode = result;
      }
    }
     
View Full Code Here

Examples of org.dbwiki.data.document.DocumentGroupNode.children()

    for (int iChild = 0; iChild < schema.children().size(); iChild++) {
      // TODO: we probably need to be careful about which bits of the
      // schema are current
      SchemaNode child = schema.children().get(iChild);
      if (child.isGroup()) {
        root.children().add(createGroupNode((GroupSchemaNode)child, groupIndex));
      }
    }
    return root;
  }
View Full Code Here

Examples of org.dbwiki.data.query.handler.ResultGroupNode.children()

          timestamp = node.getTimestamp();
        }
      }
      DatabaseGroupNode result = new ResultGroupNode(_resultSchema, timestamp);
      for (DatabaseElementNode node : outputNodes) {
        result.children().add(node);
      }
      consumer.handle(result);
    }
  }
}
View Full Code Here

Examples of org.dbwiki.data.schema.GroupSchemaNode.children()

      this.printInsertLine(schema, body);
      body.closeTABLE();
    } else {
      body.openTABLE(layout.getCSS(CSS.CSSObjectFrame));
      GroupSchemaNode groupSchemaNode = (GroupSchemaNode)schema;
      for (int iChild = 0; iChild < groupSchemaNode.children().size(); iChild++) {
        SchemaNode child = groupSchemaNode.children().get(iChild);
        // skip deleted entities
        if (!child.getTimestamp().isCurrent())
          continue;
        if (child.isAttribute()) {
View Full Code Here

Examples of org.dotuseful.ui.tree.AutomatedTreeNode.children()

                        // buddies that are not in any group are put in
                        // "Contacts" group by JBother
                        // if we need to send a message to them, we need to
                        // extract them from the tree
                        // because there is no way to do it from the roster
                        Enumeration iChildren = node.children();
                        String usersList = new String();
                        while (iChildren.hasMoreElements())
                        {
                            AutomatedTreeNode o = (AutomatedTreeNode) iChildren
                                    .nextElement();
View Full Code Here

Examples of org.eclipse.persistence.jpa.jpql.parser.CollectionExpression.children()

    List<Class<?>> types = new ArrayList<Class<?>>();
    CollectionExpression collectionExpression = getCollectionExpression(expression);

    // Gather the resolver for all children
    if (collectionExpression != null) {
      for (Expression child : collectionExpression.children()) {
        child.accept(this);
        types.add(type);
      }
    }
    // Otherwise visit the actual expression
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.