Examples of NodeImpl


Examples of org.jbpm.workflow.core.impl.NodeImpl

        if (nodeAndType != null) {
          throw new IllegalArgumentException("Cannot link outgoing connection type more than once: " + type);
        }
      } else {
        if (nodeAndType != null) {
              NodeImpl node = (NodeImpl) nodeAndType.getNode();
            if (node != null) {
              ((NodeImpl) nodeAndType.getNode()).validateAddOutgoingConnection(nodeAndType.getType(), connection);
            }
          }
      }
View Full Code Here

Examples of org.jbpm.workflow.core.impl.NodeImpl

          super.addOutgoingConnection(type, connection);
          CompositeNode.NodeAndType outNode = internalGetLinkedOutgoingNode(type);
          if (outNode != null) {
            CompositeNodeEnd end = new CompositeNodeEnd(connection.getTo(), type);
            internalAddNode(end);
            NodeImpl node = (NodeImpl) outNode.getNode();
            if (node != null) {
              new ConnectionImpl(
                outNode.getNode(), outNode.getType(),
                end, org.jbpm.workflow.core.Node.CONNECTION_DEFAULT_TYPE);
            }
View Full Code Here

Examples of org.vietspider.html.parser.NodeImpl

//    resources.add(new Resource("link", "href"));
//    resources.add(new Resource("script", "src"));
    downloadResources(address, tokens, resources);

    for(int i = 0; i < tokens.size(); i++) {
      NodeImpl token = tokens.get(i);
      if(token.getType() != TypeToken.TAG || !token.isNode(Name.A)) continue;
      Attributes attributes = token.getAttributes();
      Attribute attribute = attributes.get("href");
      if(attribute == null) continue;
      String link  = attribute.getValue();
      if(link == null || link.trim().length() < 1) continue;
      link  = urlUtils.createURL(parent, link);
View Full Code Here

Examples of org.wymiwyg.rdf.graphs.impl.NodeImpl

  private void writeGraph(File directory, Graph graph) throws IOException {
    NaturalizedGraph naturalizedGraph = new NaturalizedGraph(graph,
        new Naturalizer() {
          public Node naturalize(FunctionallyGroundedNode fgNode,
              Graph graph) {
            Node anonymousNode = new NodeImpl();
            graph.add(new TripleImpl(anonymousNode,
                new PropertyNodeImpl(
                    MODELDIFF.functionallyGroundedIn
                        .getURI()),
                addFunctionallyGroundedNode(fgNode)));
View Full Code Here

Examples of org.wymiwyg.rdf.graphs.impl.NodeImpl

   * @throws HandlerException
   */
  private void addUser(LoginData loginData, Graph graph, Request request)
      throws HandlerException {
    // TODO use an jenaModelWrapper (TBD)
    Node user = new NodeImpl();
    graph.add(new TripleImpl(user, new PropertyNodeImpl(RDF.type.getURI()),
        new NamedNodeImpl(FOAF.Agent.getURI())));
    graph.add(new TripleImpl(user, new InverseFunctionalPropertyNodeImpl(
        ACCOUNTMANAGER.userName.getURI()), new PlainLiteralNodeImpl(
        loginData.userName)));
View Full Code Here

Examples of org.wymiwyg.rdf.graphs.impl.NodeImpl

    }
  }

  private FunctionallyGroundedNode functionalyze(NamedNode node) {
    FunctionallyGroundedNodeImpl result = new FunctionallyGroundedNodeImpl();
    Node afgn = new NodeImpl();
    SimpleNonTerminalMolecule molecule = new SimpleNonTerminalMolecule(afgn);
    String uriString = node.getURIRef();
    LiteralNode uriLit = new TypedLiteralNodeImpl(uriString, anyURIDataType);
    Triple triple = new TripleImpl(afgn, nameProp, uriLit);
    molecule.add(triple);
View Full Code Here

Examples of propagation.impl.NodeImpl

public class NodeImplTest extends TestCase {
   private Node node_;

   protected void setUp() throws Exception {
      node_ = new NodeImpl();
   }
View Full Code Here

Examples of uk.org.ogsadai.client.toolkit.workflow.visualisation.NodeImpl

      String pipeName = output.getPipeName();
      AnnotatedPort newPort = new AnnotatedPort(outputName, false);
      outputPorts.add(newPort);
      mOutputPortMap.put(newPort, pipeName);
    }
    mNodeList.add(new NodeImpl(activityName.getLocalPart(), instanceName
        .getLocalPart(), inputPorts, outputPorts, resourceID));
  }
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.