Package eu.admire.dispel.parser.types

Examples of eu.admire.dispel.parser.types.ProcessingElementType


        mExecutionState.getNamespaceManager().addUsingDeclaration(qName);
        if (type instanceof ProcessingElementType)
        {
            // PE types are registered as variables
            // other types too?
            ProcessingElementType pe = (ProcessingElementType)type;
            ProcessingElementTypeType petype =
                new ProcessingElementTypeType(pe.getDescriptor());
            mType = petype;
            mExecutionState.getVariables().put(mName, new Variable(petype, type));
        }
    }
View Full Code Here


        nodeB.connectInput("in1", 0, connection);
        Connection connection2 = new TeeConnection();
        nodeA.connectOutput("out2", 0, connection2);
        nodeB.connectInput("in2", 0, connection2);
        Map<String, Variable> variables = new HashMap<String, Variable>();
        variables.put("query", new Variable(new ProcessingElementType("uk.org.ogsadai.SQLQuery"), nodeA));
        variables.put("results", new Variable(new ProcessingElementType("eu.admire.Results"), nodeB));
        String dot = DotGenerator.generate(graph.getNodes(), variables);
        writeFile(dot);
        System.out.println(dot);
    }
View Full Code Here

            throw new TransformationException(
                "Cannot handle registered objects of type: " +
                registeredObject.getClass().getCanonicalName());
        }
       
        ProcessingElementType peType =
            (ProcessingElementType) registeredObject.getObject();

        CompositeProcessingElement cpe =
            (CompositeProcessingElement) peType.getImplementation();
           
        if (cpe != null)
        {
            GraphUtilities.replaceNode(node, cpe);
            graph.add(cpe);
View Full Code Here

        mTypes = new ConcurrentHashMap<String, Type>(copy.mTypes);
    }

  public void registerProcessingElement(String name)
    {
      registerType(name, new ProcessingElementType(name));
    }
View Full Code Here

TOP

Related Classes of eu.admire.dispel.parser.types.ProcessingElementType

Copyright © 2018 www.massapicom. 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.