Examples of link()


Examples of org.jvnet.jaxb.reflection.model.impl.RuntimeModelBuilder.link()

            new RuntimeModelBuilder(context, reader, Collections.<Class, Class> emptyMap(), null);
        builder.setErrorHandler(errorListener);
        for (Class c : classes)
            builder.getTypeInfo(new Ref<Type, Class>(c));

        RuntimeTypeInfoSet r = builder.link();
        errorListener.check();
        return r;
    }

    public void testReflection() throws Exception {
View Full Code Here

Examples of org.jvnet.jaxb.reflection.model.impl.RuntimeModelBuilder.link()

            new RuntimeModelBuilder(context, reader, Collections.<Class, Class> emptyMap(), null);
        builder.setErrorHandler(errorListener);
        for (Class c : classes)
            builder.getTypeInfo(new Ref<Type, Class>(c));

        RuntimeTypeInfoSet r = builder.link();
        errorListener.check();
        return r;
    }

    private static class JAXBAccessor implements Accessor {
View Full Code Here

Examples of org.midonet.client.resource.BridgePort.link()

        }

        routerPort.create();

        // Link them up
        bridgePort.link(routerPort.getId()).update();

        // Set up default route from router to subnet
        netRouter.addRoute().type("Normal").weight(100)
                .srcNetworkAddr("0.0.0.0").srcNetworkLength(0)
                .dstNetworkAddr(cidrSubnet).dstNetworkLength(cidrSize)
View Full Code Here

Examples of org.openbp.core.model.item.process.DataLink.link()

    // Create a new data link and add it to the process
    ProcessItem process = sourceParam.getProcess();
    DataLink dataLink = process.createDataLink();

    // Link the parameters
    dataLink.link(sourceParam, targetParam);

    // Apply auto-conversions if necessary
    String sourceMemberPath = DataLinkImpl.checkAutoConversion(sourceParam, null, targetParam, null);
    dataLink.setSourceMemberPath(sourceMemberPath);
View Full Code Here

Examples of org.sgx.yuigwt.yui.yql.api.weather.forecast.Channel.link()

      public void call(YQLResult r) {
//        console.log(Y.JSON().stringify(r));
        WheatherForecastResult fresult = r.query().results().cast();
        Channel channel = fresult.channel();
        parent.append(
          "<a href=\""+channel.link()+"\">"+
            channel.title()+"</a> - Wind speed: "+channel.wind().speed()+" kph. " +
   
          //or not using any Java API at all, just the js object api 
          "Direction: "+r.query().results().objGetObj("channel").
            objGetObj("wind").objGetString("direction")+
View Full Code Here

Examples of pddl4j.Parser.link()

      } else {// else we print the warnings
        for(String m : mgr.getMessages(Message.WARNING))
          logger.severe(m);
      }
      if (pddlDomain != null && pddlProblem != null) {
        this.pddlObject = pddlParser.link(pddlDomain, pddlProblem);
      } else if (pddlDomain == null ){
        throw new pddl4j.ParserException("Parse error in PDDL Domain");
      } else if (pddlProblem == null){
        throw new pddl4j.ParserException("Parse error in PDDL Problem");
      }
View Full Code Here

Examples of ptolemy.actor.IOPort.link()

                            System.out.println("> for Port : " + portName
                                    + " created Relation: "
                                    + relation.getName());
                        }

                        port.link(relation);
                    } catch (NameDuplicationException e) {
                        KernelException.stackTraceToString(e);
                    } catch (IllegalActionException e) {
                        KernelException.stackTraceToString(e);
                    }
View Full Code Here

Examples of ptolemy.actor.TypedIOPort.link()

                // One port for each state variable.
                for (int k = 0; k < n; k++) {
                    TypedIOPort port = new TypedIOPort(equations[i], states[k],
                            true, false);
                    port.setTypeEquals(BaseType.DOUBLE);
                    port.link(stateRelations[k]);
                }

                // One port for each input variable.
                for (int k = 0; k < m; k++) {
                    TypedIOPort port = new TypedIOPort(equations[i], inputs[k],
View Full Code Here

Examples of ptolemy.kernel.ComponentPort.link()

                                    .connectedPortList();

                            if (!connectedPorts.contains(newPort)) {
                                ComponentRelation relation = newRelation(uniqueName("relation"));
                                newPort.link(relation);
                                insidePort.link(relation);
                            }
                        }
                    } finally {
                        workspace().doneWriting();
                    }
View Full Code Here

Examples of ptolemy.kernel.Port.link()

                                    .connectedPortList();

                            if (!connectedPorts.contains(castPort)) {
                                // There is no connection. Create one.
                                ComponentRelation newRelation = newRelation(uniqueName("relation"));
                                insidePort.link(newRelation);
                                castPort.link(newRelation);
                            }
                        }
                    } finally {
                        workspace().doneWriting();
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.