Examples of Node


Examples of org.sgx.yuigwt.yui.node.Node

      cdata = (String) JsUtil.get(attrsObj, "cdata");
//    if(tag==null) //required
//      return null;
    if(tag==null)
      tag="span";
    Node thisNode = null;
    thisNode = Y.one("document").create("<"+tag+"></"+tag+">");
   
    JsArrayString attrNames = JsUtil.props(attrsObj);
    for (int i = 0; i < attrNames.length(); i++) {
      String attr = attrNames.get(i);
      if(attr!=null && !attr.equals("tag") && !attr.equals("cdata"))
        thisNode.setAttribute(attr, (String) JsUtil.get(attrsObj, attr));
    }
    if(cdata!=null)
      thisNode.setContent(cdata);
    thisNode.setStyles(cssObj);   
    if(childs!=null)
      for (int i = 0; i < childs.length; i++)
        thisNode.append(childs[i]);
    return thisNode;
  }

Examples of org.sonatype.maven.polyglot.ruby.ConfigVisitor.Node

            Xpp3Dom configuration = (Xpp3Dom) config;
            if (configuration.getChildCount() != 0) {
                append(",");
                println();
                ConfigVisitor visitor = new ConfigVisitor();
                visitor.visit( new Node( configuration ) );
                printHashConfig( indent, visitor.config.map );
            }
            append( " )");
        }
    }

Examples of org.sourceforge.jsonedit.core.model.node.Node

   
    return imgDescriptor.createImage();
  }
 
  public int getStart() {
    Node startNode = jsonNode.getKey();
    if (startNode == null) {
      startNode = jsonNode.getValue();
    }
   
    return startNode.getStart();
  }

Examples of org.springframework.erlang.core.Node

    }

    private void extractNodes(List<Node> nodes, OtpErlangList nodesList) {
      for (OtpErlangObject erlangNodeName : nodesList) {
        String nodeName = erlangNodeName.toString();
        nodes.add(new Node(nodeName));
      }
    }

Examples of org.telluriumsource.misc.Node

        Trie trie = new Trie();
        String[] ndict = randomize(dictionary);
        trie.buildTree(ndict);
        trie.checkAndIndexLevel();
        trie.printMe();
        Node deepest = trie.getDeepestNode();
        assertNotNull(deepest);
        System.out.println("deepest word: " + deepest.getFullWord() + ", level: " + deepest.getLevel());
       
    }

Examples of org.terasology.logic.behavior.tree.Node

        PortList portList = node.getPortList();
        Assert.assertEquals(1, portList.ports().size());
    }

    private Node node() {
        return new Node() {
            @Override
            public Task createTask() {
                return null;
            }
        };

Examples of org.thechiselgroup.choosel.visualization_component.graph.client.widget.Node

        VisualItem visualItem2 = VisualItemTestUtils.createVisualItem(2);

        simulateAddVisualItems(LightweightCollections.toCollection(visualItem1,
                visualItem2));

        Node node1 = ((NodeItem) visualItem1.getDisplayObject()).getNode();
        Node node2 = ((NodeItem) visualItem2.getDisplayObject()).getNode();

        assertThat(underTest.getAllNodes(),
                CollectionMatchers.containsExactly(CollectionUtils.toList(
                        node1, node2)));
    }

Examples of org.thymeleaf.dom.Node

  }
 
  @Override
  protected void adaptHeader(HtmlTable table) {
   
    Node tableNode = (Node) ((IWebContext) arguments.getContext()).getHttpServletRequest().getAttribute(DataTablesDialect.INTERNAL_NODE_TABLE);
    Element thead = DomUtils.findElement((Element) tableNode, "thead");
   
    Element tr = new Element("tr");
    for(HtmlColumn column : table.getLastHeaderRow().getColumns()){
      Element th = new Element("th");

Examples of org.tinyuml.draw.Node

  /**
   * Tests clone() method.
   */
  public void testClone() {
    MyCompositeNode node = new MyCompositeNode();
    Node child = new MyCompositeNode();
    node.addChild(child);
    MyCompositeNode cloned = (MyCompositeNode) node.clone();
   
    // AbstractCompositeNode
    assertEquals(node.getChildren().size(), cloned.getChildren().size());

Examples of org.tools.xml.Node

     *
     * @return xml object
     */
    @Override
    public Node toXML() {
        Node element = new Node(XML_NAME);

        element.appendChild(properties.toXML());
        element.appendChild(provinces.toXML());
        element.appendChild(units.toXML());

        return element;
    }
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.