Examples of traverse()


Examples of org.apache.felix.ipojo.manipulator.metadata.annotation.model.AnnotationType.traverse()

        IgnoredDiscovery ignoredDiscovery = new IgnoredDiscovery();
        chain.getDiscoveries().add(stereotypeDiscovery);
        chain.getDiscoveries().add(handlerBindingDiscovery);
        chain.getDiscoveries().add(ignoredDiscovery);

        annotationType.traverse(chain);

        // Produced Bindings
        List<Binding> bindings = new ArrayList<Binding>();

        // @Stereotype support
View Full Code Here

Examples of org.apache.jorphan.collections.HashTree.traverse()

    @Override
    public void doAction(ActionEvent e) {
        String action = e.getActionCommand();
        if (action.equals(SUB_TREE_SAVED)) {
            HashTree subTree = (HashTree) e.getSource();
            subTree.traverse(this);
        } else if (action.equals(SUB_TREE_LOADED)) {
            ListedHashTree addTree = (ListedHashTree) e.getSource();
            addTree.traverse(this);
        } else if (action.equals(ADD_ALL)) {
            previousGuiItems.clear();
View Full Code Here

Examples of org.apache.jorphan.collections.ListedHashTree.traverse()

        if (action.equals(SUB_TREE_SAVED)) {
            HashTree subTree = (HashTree) e.getSource();
            subTree.traverse(this);
        } else if (action.equals(SUB_TREE_LOADED)) {
            ListedHashTree addTree = (ListedHashTree) e.getSource();
            addTree.traverse(this);
        } else if (action.equals(ADD_ALL)) {
            previousGuiItems.clear();
            ReportGuiPackage.getInstance().getTreeModel().getReportPlan().traverse(this);
        } else if (action.equals(REMOVE)) {
            ReportGuiPackage guiPackage = ReportGuiPackage.getInstance();
View Full Code Here

Examples of org.apache.poi.ss.util.cellwalk.CellWalk.traverse()

  Workbook wb = marker.getSheet().getWorkbook();
  FormulaEvaluator evaluator = wb.getCreationHelper().createFormulaEvaluator();

  CellWalk cellWalk = new CellWalk(marker);
  NumCacheCellHandler numCacheHandler = cache.new NumCacheCellHandler(evaluator);
  cellWalk.traverse(numCacheHandler);
  return cache;
    }
   
    /**
     * Returns total count of points in cache. Some (or even all) of
View Full Code Here

Examples of org.apache.uima.ruta.ide.parser.ast.RutaModuleDeclaration.traverse()

    ASTNode node;
    if (parsed != null) {
      try {
        RutaReferenceVisitor referenceVisitor = new RutaReferenceVisitor(actualCompletionPosition);
        parsed.traverse(referenceVisitor);
        node = referenceVisitor.getResult();

        if (node == null) {
          doCompletionOnEmptyStatement(module, position, i);
          doCompletionOnDeclaration(module, startPart);
View Full Code Here

Examples of org.apache.xalan.transformer.TreeWalker2Result.traverse()

            if (t == DTM.DOCUMENT_NODE)
            {
              for (int child = dtm.getFirstChild(pos); child != DTM.NULL;
                   child = dtm.getNextSibling(child))
              {
                tw.traverse(child);
              }
            }
            else if (t == DTM.ATTRIBUTE_NODE)
            {
              SerializerUtils.addAttribute(handler, pos);
View Full Code Here

Examples of org.apache.xalan.xpath.xml.TreeWalker.traverse()

    processor.process(xmlID, stylesheetID, resultTarget);
   
    PrintWriter pw = new PrintWriter( System.out );
    FormatterToXML fl = new FormatterToXML(pw, true);
    TreeWalker tw = new TreeWalker(fl);
    tw.traverse(out);
   
  }
}
View Full Code Here

Examples of org.apache.xml.dtm.ref.DTMTreeWalker.traverse()

    treeWalker.setcontentHandler(ch);
    treeWalker.setDTM(this);

    try
    {
      treeWalker.traverse(nodeHandle);
    }
    finally
    {
      treeWalker.setcontentHandler(null);
    }
View Full Code Here

Examples of org.apache.xml.serializer.TreeWalker.traverse()

        }

        private void dumpAsXML(Document document) {
            try {
                TreeWalker tw = new TreeWalker(contentHandler);
                tw.traverse(document);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
View Full Code Here

Examples of org.apache.xml.utils.TreeWalker.traverse()

                characters(chars, 0, chars.length);
              }
              else
              {
                TreeWalker walker = new TreeWalker(this, new org.apache.xpath.DOM2Helper(), m_systemID);
                walker.traverse(dNode);
              }
            }
            finally
            {
              if(dNode.getNodeType() != Node.DOCUMENT_NODE)
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.