Examples of child()


Examples of com.ociweb.xml.WAX.child()

        wax.comment("This is one of my favorite CDs!");
        wax.start("cd");
        wax.attr("year", 2007);

        wax.child("title", "Worrisome Heart");
        wax.child("date", "purchaseDate", "4/3/2008");

        wax.close(); // terminates all unterminated elements
    }
}
View Full Code Here

Examples of com.trolltech.qt.gui.QTreeWidgetItem.child()

     
      /* First, let's find out which stacks are expanded */
      QTreeWidgetItem root =   invisibleRootItem();
      List<String> expandedStacks = new ArrayList<String>();
      for (int i=0; i<root.childCount(); i++) {
        if (root.child(i).isExpanded())
          expandedStacks.add(root.child(i).text(0));
      }
     
      clear();
      stacks.clear();
View Full Code Here

Examples of fig.basic.LispTree.child()

    if (tree.isLeaf()) {
      String fbProperty = FreebaseInfo.isReverseProperty(tree.value) ? tree.value.substring(1) : tree.value;
      return freebaseInfo.fbPropertyHasOpposite(fbProperty);
    } else {
      // Un-reverse everything.
      String binary1 = tree.child(2).child(0).value;
      binary1 = FreebaseInfo.isReverseProperty(binary1) ? binary1.substring(1) : binary1;
      String binary2 = tree.child(2).child(1).child(0).value;
      binary2 = FreebaseInfo.isReverseProperty(binary2) ? binary2.substring(1) : binary2;
      return freebaseInfo.fbPropertyHasOpposite(binary1) && freebaseInfo.fbPropertyHasOpposite(binary2);
    }
View Full Code Here

Examples of hudson.FilePath.child()

                return;
            }

            // convert a directory service request to a single file service request by serving
            // 'index.html'
            baseFile = baseFile.child(indexFileName);
        }

        //serve a single file
        if(!baseFile.exists()) {
            rsp.sendError(HttpServletResponse.SC_NOT_FOUND);
View Full Code Here

Examples of hudson.plugins.analysis.core.ParserResult.Workspace.child()

        return warning;
    }

    private Workspace mockWorkspace(final String[] workspaceFiles) throws IOException, InterruptedException {
        Workspace workspace = mock(Workspace.class);
        when(workspace.child(anyString())).thenReturn(workspace);
        when(workspace.getPath()).thenReturn(WORSPACE_ROOT);
        when(workspace.findFiles(anyString())).thenReturn(workspaceFiles);
        return workspace;
    }
}
View Full Code Here

Examples of io.fathom.cloud.state.StateStore.StateNode.child()

@Singleton
public class LbaasRepository extends RepositoryBase {
    public NumberedItemCollection<LbaasMappingData> getMappings(Project project) {
        StateNode node = stateStore.getRoot("lb_map");
        node = node.child(Long.toHexString(project.getId()));
        return NumberedItemCollection.builder(node, LbaasMappingData.class).idField(LbaasMappingData.ID_FIELD_NUMBER)
                .create();
    }

    public NumberedItemCollection<LbaasServerData> getServers(Project project) {
View Full Code Here

Examples of js.dom.Element.child()

     * @param label
     * @param uri
     */
    public Menu add(String label, String uri) {
        Element item = container.child("li").add(TopMenu.class);
        item.child("a").add(MenuLink.class).attr("href", uri).text(label);

        return new Menu(item);
    }

    public void add(Select select) {
View Full Code Here

Examples of kiss.XML.child()

        XML body = html.child("body");
        body.child("header").attr("id", "Header");
        body.child("div").attr("id", "Content");
        body.child("footer").attr("id", "Footer");

        body.child("script").attr("type", "text/javascript").attr("src", "pointer-events.js");
        body.child("script").attr("type", "text/javascript").attr("src", "boot.js");
        body.child("script").attr("type", "text/javascript").attr("src", config.root.relativize(js));

        html.to(new HTMLWriter(Files.newBufferedWriter(this.html, I.$encoding)));
    }
View Full Code Here

Examples of org.apache.jackrabbit.oak.plugins.segment.SegmentNodeBuilder.child()

                    // so use the backed up state as the basis of the
                    // incremental backup diff
                    before = state.getChildNode("root");
                }
                current.compareAgainstBaseState(
                        before, new ApplyDiff(builder.child("root")));
            }
            builder.setProperty("checkpoint", checkpoint);

            // 4. commit the backup
            journal.setHead(
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.state.NodeBuilder.child()

    }

    private static void insert(NodeBuilder index, String key, String value) {
        NodeBuilder builder = index.child(key);
        for (String name : PathUtils.elements(value)) {
            builder = builder.child(name);
        }
        builder.setProperty("match", true);
    }

    public Iterable<String> query(final Filter filter, final String indexName,
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.