Examples of visit()


Examples of org.glassfish.loadbalancer.admin.cli.transform.WebModuleVisitor.visit()

    @Override
    public void accept(Visitor v) throws Exception {
    if (v instanceof WebModuleVisitor) {
      WebModuleVisitor wv = (WebModuleVisitor) v;
      wv.visit(this);
    }
    }
    // ---- VARIABLE(S) - PRIVATE -----------------------------
    private String _name = null;
    private ApplicationRef _applicationRef = null;
View Full Code Here

Examples of org.gradle.api.file.FileTree.visit()

                    {
                        boolean worked = f.setExecutable(true);
                        project.getLogger().info("Setting file +X "+worked + " : "+f.getPath());
                    }
                    FileTree tree = delayedFileTree(DevConstants.LAUNCH4J_DIR + "/bin").call();
                    tree.visit(new FileVisitor()
                    {
                        @Override public void visitDir(FileVisitDetails dirDetails){}
                        @Override
                        public void visitFile(FileVisitDetails fileDetails)
                        {
View Full Code Here

Examples of org.gradle.api.internal.file.collections.MinimalFileTree.visit()

        });

        SyncCopyActionDecoratorFileVisitor fileVisitor = new SyncCopyActionDecoratorFileVisitor(visited);

        MinimalFileTree walker = new DirectoryFileTree(baseDestDir).postfix();
        walker.visit(fileVisitor);
        visited.clear();

        return new SimpleWorkResult(didWork.getDidWork() || fileVisitor.didWork);
    }
View Full Code Here

Examples of org.gradle.internal.graph.GraphRenderer.visit()

        if (hasConfigs) {
            getTextOutput().println();
        }
        hasConfigs = true;
        GraphRenderer renderer = new GraphRenderer(getTextOutput());
        renderer.visit(new Action<StyledTextOutput>() {
            public void execute(StyledTextOutput styledTextOutput) {
                getTextOutput().withStyle(Identifier).text(configuration.getName());
                getTextOutput().withStyle(Description).text(getDescription(configuration));
            }
        }, true);
View Full Code Here

Examples of org.grouplens.grapht.reflect.Satisfaction.visit()

            nodeIds.put(node, id);
            Component csat = node.getLabel();
            assert csat != null;
            Satisfaction sat = csat.getSatisfaction();
            try {
                tgt = sat.visit(new Visitor(node, id));
            } catch (RuntimeException e) {
                if (e.getCause() instanceof IOException) {
                    throw (IOException) e.getCause();
                } else {
                    throw e;
View Full Code Here

Examples of org.h2.table.TableFilter.visit()

        command.addTableFilter(top, true);
        boolean isOuter = false;
        while (true) {
            TableFilter n = top.getNestedJoin();
            if (n != null) {
                n.visit(new TableFilterVisitor() {
                    public void accept(TableFilter f) {
                        command.addTableFilter(f, false);
                    }
                });
            }
View Full Code Here

Examples of org.hibernate.junit.TestSuiteVisitor.visit()

  }

  private static TestSuite filter(TestSuite testSuite) {
    FilterHandler handler = new FilterHandler();
    TestSuiteVisitor visitor = new TestSuiteVisitor( handler );
    visitor.visit( testSuite );
    return handler.getFilteredTestSuite();
  }

  private static class TestSuiteStackEntry {
    public final TestSuite testSuite;
View Full Code Here

Examples of org.hibernate.testing.junit.TestSuiteVisitor.visit()

      }
      public void startingTestSuite(TestSuite suite) {}
      public void completedTestSuite(TestSuite suite) {}
    };
    TestSuiteVisitor visitor = new TestSuiteVisitor( handler );
    visitor.visit( suite );
  }
}
View Full Code Here

Examples of org.hibernate.tool.hbmlint.detector.SchemaByMetaDataDetector.visit()

      Table table = (Table) tableMappings.next();
   
      MockCollector mc = new MockCollector();
     
      if(table.getName().equalsIgnoreCase( "missingtable" )) {
        analyzer.visit( configuration, table, mc );       
        assertEquals(mc.problems.size(),1);
        Issue ap = (Issue) mc.problems.get( 0 );
        assertTrue(ap.getDescription().indexOf( "Missing table" ) >=0);
      } else if(table.getName().equalsIgnoreCase( "category" )) {
        analyzer.visit( configuration, table, mc );
View Full Code Here

Examples of org.internna.iwebmvc.core.crypto.impl.DES3CiphererDecipherer.visit()

    @Test
    public void acceptClone() throws Exception {
        Locale locale = entityManager.find(Locale.class, pk);
        DES3CiphererDecipherer visitor = new DES3CiphererDecipherer();
        visitor.init();
        Locale clone = visitor.visit(locale);
        assertTrue("Just the same", clone.equals(locale));
    }

    @Test
    public void acceptField() throws Exception {
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.