Examples of Node


Examples of org.apache.ctakes.ytex.kernel.tree.Node

    }
    for (long instanceId2 : rightDocumentIDs) {
      // if (instanceId1 != instanceId2) {
      final long i1 = instanceId1;
      final long i2 = instanceId2;
      final Node root1 = instanceIDMap.get(i1);
      final Node root2 = instanceIDMap.get(i2);
      if (root1 != null && root2 != null) {
        kernelEvaluationDao.storeKernel(kernelEvaluation, i1, i2,
            instanceKernel.evaluate(root1, root2));
      }
    }

Examples of org.apache.el.parser.Node

            this.varMapper = new VariableMapperFactory(ctxVar);
        }
    }

    public final static Node createNode(String expr) throws ELException {
        Node n = createNodeInternal(expr);
        return n;
    }

Examples of org.apache.felix.karaf.shell.dev.util.Node

            for (ExportedPackage ep : exporters) {
                if (i.getVersion().isInRange(ep.getVersion())) {
                    if (bundle.equals(ep.getExportingBundle())) {
                        foundMatch = true;
                    } else {
                        Node child = node.addChild(ep.getExportingBundle());
                        System.out.printf("- import %s: resolved using %s%n", i, ep.getExportingBundle());
                        foundMatch = true;
                        createNode(child);
                    }
                }

Examples of org.apache.flex.forks.velocity.runtime.parser.node.Node

    for (int i = 0; i < argCount; i++) {
      /*
       * we only handle StringLiterals and References right now
       */

      Node n = node.jjtGetChild(i);

      if (n.getType() == ParserTreeConstants.JJTSTRINGLITERAL
          || n.getType() == ParserTreeConstants.JJTREFERENCE) {
        if (!renderOutput(n, context, writer))
          outputErrorToStream(writer, "error with arg " + i
              + " please see log.");
      } else {
        rsvc.error("#include() error : invalid argument type : "
            + n.toString());
        outputErrorToStream(writer, "error with arg " + i
            + " please see log.");
      }
    }

Examples of org.apache.geronimo.clustering.Node

    }

    public void testLeavingNodeTriggersLocalTrackerUnRegistration() throws Exception {
        recordStart();
       
        Node leavingNode = (Node) mock(Node.class);
        leavingNode.getName();
        String leavingNodeName = "leavingNode";
        modify().returnValue(leavingNodeName);

        localTracker.unregisterNetworkConnectorLocations(leavingNodeName);
       

Examples of org.apache.geronimo.datastore.impl.remote.messaging.Node

        repNode2GB.setAttribute("TargetNodes", new NodeInfo[] {primaryNode});
        loadAndStart(kernel2, repNode2Name, repNode2GB);
        loadAndStart(kernel2, node2Name, node2GB);
        repNode2 = (ReplicationMember) repNode2GB.getTarget();
       
        Node node = (Node) node2GB.getTarget();
        // The second ServerNode joins the first one.
        node.join(primaryNode);
       
        // Sets the topology.
        Topology topology = new Topology();
        PathWeight weight = new PathWeight(10);
        NodePath path = new NodePath(primaryNode, secondaryNode, weight, weight);

Examples of org.apache.geronimo.genesis.dependency.DependencyTree.Node

        // Generate explicit_versions for all our dependencies...
        Properties props = new Properties();
       
        try {

            Node root = dependencies.getRootNode();
           
            // Skip the root node
            Iterator children = root.getChildren().iterator();
            while (children.hasNext()) {
                Node child = (Node) children.next();
                appendExplicitVersionProperties(child, props);
            }
        }
        catch (Exception e) {
            throw new MojoExecutionException("Failed to determine project dependencies", e);

Examples of org.apache.geronimo.gshell.layout.model.Node

        if (!(start instanceof GroupNode)) {
          throw new NotFoundException(path);
        }
       
        Node node = ((GroupNode)start).find(path);
        if (node == null) {
            throw new NotFoundException(path);
        }
       
        return node;       

Examples of org.apache.geronimo.monitoring.console.data.Node

                final String message = "The server name already exists. Please use a different one.";
                throw new Exception(message);
            }
            try {
                userTransaction.begin();
                Node node = new Node();
                node.setName(name);
                node.setHost(host);
                node.setUserName(actionRequest.getParameter("username"));
                String password = actionRequest.getParameter("password");
                if (password != null && !password.equals("")) {
                    password = EncryptionManager.encrypt(password);
                    node.setPassword(password);
                }
                node.setPort(Integer.parseInt(actionRequest.getParameter("port")));
                node.setProtocol(actionRequest.getParameter("protocol"));
                entityManager.persist(node);
            } finally {
                userTransaction.commit();
            }
            addInfoMessage(actionRequest, getLocalizedString(actionRequest, "mconsole.infoMsg11", name, host));

Examples of org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotTestHelper.TestDirectoryTree.Node

          hdfs, (short) (random.nextInt(REPLICATION) + 1));
      node.nullFileIndex = (node.nullFileIndex + 1) % node.fileList.size();
      Modification dirChange = new DirCreationOrDeletion(node.nodePath, hdfs,
          node, random.nextBoolean());
      // dir rename
      Node dstParent = dirTree.getRandomDirNode(random, Arrays.asList(nodes));
      Modification dirRename = new DirRename(node.nodePath, hdfs, node,
          dstParent);
     
      mList.add(create);
      mList.add(delete);
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.