Examples of Node


Examples of nu.xom.Node

            }
          }
            //  velocity
          Element dynamics = notations.getFirstChildElement("dynamics");
          if (dynamics != null)
          {  Node dynamic = dynamics.getChild(0);
            if (dynamic != null)
            {  for (int x = 0; x < this.volumes.length; ++x)
              {  if (dynamic.getValue().compareToIgnoreCase(this.volumes[x]) == 0)
                {  this.curVelocity = (byte)(((this.maxVelocity - this.minVelocity)
                          (this.volumes.length - 1)) * x);
                }
               
              }

Examples of ognl.Node

        ExpressionEvaluator ev = newMock(ExpressionEvaluator.class);
        ExpressionCache ec = newMock(ExpressionCache.class);
        IComponent component = newMock(IComponent.class);
        Location l = fabricateLocation(1);
       
        Node compiled = newMock(Node.class);
        //ExpressionAccessor accessor = newMock(ExpressionAccessor.class);
       
        Object expressionValue = "EXPRESSION-VALUE";
       
        ValueConverter vc = newValueConverter();
       
        expect(ec.getCompiledExpression("exp")).andReturn(compiled);
       
        expect(compiled.getAccessor()).andReturn(null);
       
        expect(ev.isConstant("exp")).andReturn(true);
       
        expect(ec.getCompiledExpression(component, "exp")).andReturn(compiled);
       

Examples of opennlp.tools.formats.ad.ADParagraphStream.ParagraphParser.Node

      if (start > -1 && index < start) {
        index++;
        // skip this one
      } else {
        Node root = paragraph.getRoot();
        List<String> sentence = new ArrayList<String>();
        List<String> tags = new ArrayList<String>();
        List<String> target = new ArrayList<String>();

        processRoot(root, sentence, tags, target);

Examples of opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node

      if (start > -1 && index < start) {
        index++;
        // skip this one
      } else {
        Node root = paragraph.getRoot();
        List<String> sentence = new ArrayList<String>();
        List<String> tags = new ArrayList<String>();
        List<String> target = new ArrayList<String>();

        processRoot(root, sentence, tags, target);

Examples of org.activecluster.Node

     * A node has been removed (a clean shutdown)
     *
     * @param event
     */
    public void onNodeRemoved(ClusterEvent event) {
        Node node = event.getNode();
        removeAllPackets(node.getDestination());
    }

Examples of org.adjective.syntactic.parser.ast.Node

    private void advance()
    {
        for (_index++; hasNext(); _index++)
        {
            Node node = _parent.jjtGetChild(_index);
            if (_type.isInstance(node) || !_skipNonMatching)
            {
                return;
            }
        }

Examples of org.ajax4jsf.org.w3c.tidy.Node

          message.getMessage()));
    }
    // TODO - configurable output for reeors in page.
    if (false) {
      Lexer lexer = message.getLexer();
      Node element = message.getElement();
      if (null == element) {
        element = lexer.getLastNode();
      } else if ("style".equalsIgnoreCase(element.getElement())
          || "script".equalsIgnoreCase(element.getElement())) {
        element = lexer.getLastNode();
      }
      // Insert comment about error.
      if (null != element) {
        String messageText = message.getMessage();
        byte[] msg = (TIDY_MARK + messageText + TIDY_MARK).getBytes();
        Node comment = lexer.newNode(Node.COMMENT_TAG, msg, 0,
            msg.length);
        // TODO - detect style or script elements - not allow comment in
        // it.
        element.insertNodeAtEnd(comment);
      }

Examples of org.alfresco.webservice.types.Node

      Predicate predicate = new Predicate();
      predicate.setStore(SearchUtils.STORE);
      predicate.setNodes(new Reference[] { reference });

      // getting properties
      Node resultNode = null;
      try {
        resultNode = NodeUtils.get(endpoint, username, password, socketTimeout, session, predicate);
      } catch (IOException e) {
        Logging.connectors.warn(
            "Alfresco: IOException closing file input stream: "
                + e.getMessage(), e);
        handleIOException(e);
      }
     
      String errorCode = "OK";
      String errorDesc = StringUtils.EMPTY;

      NamedValue[] properties = resultNode.getProperties();
      boolean isDocument = ContentModelUtils.isDocument(properties);
     
      try{   
       
        boolean isFolder = ContentModelUtils.isFolder(endpoint, username, password, socketTimeout, session, reference);

Examples of org.andromda.translation.ocl.node.Node

                        }
                        parameterList.getExpression().apply(this);
                    }
                    for (int ctr = 0; ctr < expressions.size(); ctr++)
                    {
                        Node expression = (Node)expressions.get(ctr);
                        if (expression != null)
                        {
                            write(",");
                            expression.apply(this);
                        }
                    }
                    if (parameterList.getExpression() != null)
                    {
                        if (OCLPredicateFeatures.isPredicateFeature(featureCallName))

Examples of org.apache.accumulo.core.security.ColumnVisibility.Node

    assertEquals("[\"五\"]", cv.toString());
  }

  @Test
  public void testParseTree() {
    Node node = parse("(W)|(U&V)");
    assertNode(node, NodeType.OR, 0, 9);
    assertNode(node.getChildren().get(0), NodeType.TERM, 1, 2);
    assertNode(node.getChildren().get(1), NodeType.AND, 5, 8);
  }
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.