Examples of visit()


Examples of org.jboss.virtual.spi.VFSContext.visit()

   public void testVisit() throws Exception
   {
      VFSContext context = getVFSContext("children");
      VirtualFileHandler root = context.getRoot();
      MockVirtualFileHandlerVisitor visitor = new MockVirtualFileHandlerVisitor();
      context.visit(root, visitor);
     
      Set<String> expected = new HashSet<String>();
      expected.add("child1");
      expected.add("child2");
      expected.add("child3");
View Full Code Here

Examples of org.jooq.BindContext.visit()

    public void testData() {
        BindContext ctx = create.bindContext(statement);
        ctx.data("key", "value");

        TestDataQueryPart part = new TestDataQueryPart();
        ctx.visit(part);
        assertEquals("value", part.value);
    }

    private static class TestDataQueryPart extends CustomCondition {
View Full Code Here

Examples of org.jooq.RenderContext.visit()

            // Inline bind variables only outside of string literals
            else if (sqlChars[i] == '?' && substituteIndex < substitutes.size()) {
                QueryPart substitute = substitutes.get(substituteIndex++);

                if (render.paramType() == INLINED || render.paramType() == NAMED || render.paramType() == NAMED_OR_INLINED) {
                    render.visit(substitute);
                }
                else {
                    render.sql(sqlChars[i]);
                }
View Full Code Here

Examples of org.jruby.ir.operands.Operand.visit()

        Operand storeValue = storelocalvarinstr.getValue();
        switch (depth) {
            case 0:
                switch (location) {
                    case 0:
                        storeValue.visit(this);
                        m.adapter.invokevirtual(p(DynamicScope.class), "setValueZeroDepthZero", sig(IRubyObject.class, IRubyObject.class));
                        m.adapter.pop();
                        return;
                    case 1:
                        storeValue.visit(this);
View Full Code Here

Examples of org.jvnet.glassfish.comms.admin.clbadmin.transform.ClusterVisitor.visit()

            _clusterRef.getRef());
    }

    public void accept(Visitor v) {
        ClusterVisitor cv = (ClusterVisitor) v;
        cv.visit(this);
    }
}
View Full Code Here

Examples of org.jvnet.glassfish.comms.admin.clbadmin.transform.InstanceVisitor.visit()

    }

    // --- VISITOR IMPLEMENTATION ---
    public void accept(Visitor v) {
        InstanceVisitor iv = (InstanceVisitor) v;
        iv.visit(this);
    }

    private String getHostNameForServerInstance(ConfigContext ctx,
        String serverName) throws LbReaderException {
        try {
View Full Code Here

Examples of org.jvnet.glassfish.comms.admin.clbadmin.transform.LoadbalancerVisitor.visit()

        return _clbConfig.getConvergedLbPolicy().getDcrFile();
    }

    public void accept(Visitor v) {
        LoadbalancerVisitor lv = (LoadbalancerVisitor) v;
        lv.visit(this);
    }
}
View Full Code Here

Examples of org.jvnet.glassfish.comms.admin.clbadmin.transform.PropertyVisitor.visit()

    }

    // --- VISITOR IMPLEMENTATION ---
    public void accept(Visitor v) {
        PropertyVisitor pv = (PropertyVisitor) v;
        pv.visit(this);
    }

    // --- PRIVATE METHODS -----
    private void setValue(ConvergedLbConfig clbConfig, String name) {
        _value = clbConfig.getElementPropertyByName(name).getValue();
View Full Code Here

Examples of org.jvnet.glassfish.comms.admin.clbadmin.transform.WebModuleVisitor.visit()

        return _applicationRef.getDisableTimeoutInMinutes();
    }

    public void accept(Visitor v) {
        WebModuleVisitor wv = (WebModuleVisitor) v;
        wv.visit(this);
    }
}
View Full Code Here

Examples of org.kie.workbench.common.services.refactoring.backend.server.indexing.PackageDescrIndexVisitor.visit()

                final ProjectDataModelOracle dmo = getProjectDataModelOracle( path );
                final PackageDescrIndexVisitor visitor = new PackageDescrIndexVisitor( dmo,
                                                                                       builder,
                                                                                       packageDescr );
                visitor.visit();

                return KObjectUtil.toKObject( path,
                                              builder.build() );
            }
        } catch ( Exception e ) {
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.