Package Taverna.Tree.Annotation

Examples of Taverna.Tree.Annotation.AnnotationContent


public class AnnotationConverter extends AnnotationVisitor {

  public Object visit(Annotations annotations){
    int chain_size=annotations.getAnnotationChain().size();
    AnnotationContent annotationContent = new AnnotationContent();
    for (int i=0;i<chain_size;i++){
      ArrayList<String> classList= new ArrayList<String>();
      classList=(ArrayList<String>)visit(annotations.getAnnotationChain().get(i).getAnnotationChainImpl().getAnnotationAssertions().getAnnotationAssertionImpl().getAnnotationBean());
 
      // Assign different part into LONI xml
View Full Code Here


    dataModule.setVersion("Default version");
   
    //Store Annotation of the ports
    try{
      AnnotationConverter annotationVisitor = new AnnotationConverter();
      AnnotationContent annotationContent=new AnnotationContent();
      annotationContent=(AnnotationContent) annotationVisitor.visit(port.getAnnotations());

      if (annotationContent.description!=null){
        dataModule.setDescription(annotationContent.description);
      }           
View Full Code Here

TOP

Related Classes of Taverna.Tree.Annotation.AnnotationContent

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.