Package Taverna.Visitor

Examples of Taverna.Visitor.TavernaToLoniConverter.visit()


        outputString = TavernaSpecification.getXMLGenerator().generate(
            t);
        break;
      case LONI:
        TavernaToLoniConverter foo = new TavernaToLoniConverter();
        Pipeline p = (Pipeline) foo.visit(t);
        outputString = LoniSpecification.getXMLGenerator().generate(p);
        break;
      default:
        cantConvert();
      }
View Full Code Here


      System.out.println("Before parsing...");
      workflow = TavernaSpecification.getXMLParser().parse(new File(inputPath));
      System.out.println("After parsing...");
      TavernaToLoniConverter tlc = new TavernaToLoniConverter();
      System.out.println("After creating a Tav to Loni converter...");
      Pipeline pipeline = (Pipeline) tlc.visit(workflow);
      System.out.println("After creating the Pipeline object via visit(Workflow)...");
      LoniSpecification.getXMLGenerator().generate(pipeline, outputPath);
      System.out.println("After generating output file...");
   
    } catch (FileNotFoundException e) {
View Full Code Here

    System.out.println("==="+path+"===");
    Workflow G;
    try {
      G = TavernaSpecification.getXMLParser().parse(new File(path));
      TavernaToLoniConverter tlc = new TavernaToLoniConverter();
      Pipeline p = (Pipeline) tlc.visit(G);
      try {
        LoniSpecification.getXMLGenerator().generate(p, output);
      } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
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.