SHOPTranslator.java revision 2
/*
* Created on Jun 1, 2004
*/
/**
* This is a experimental version of OWL-S to SHOP2 translator.
*
* @author Evren Sirin
*/
public class SHOPTranslator {
private PrintWriter out;
if(resource instanceof AtomicProcess)
s += "!";
return s;
}
/* (non-Javadoc)
* @see org.mindswap.owls.io.OWLSWriter#write(org.mindswap.owls.service.Service, java.io.OutputStream)
*/
}
/* (non-Javadoc)
* @see org.mindswap.owls.io.OWLSWriter#write(org.mindswap.owls.service.Service, java.io.Writer)
*/
}
if(process instanceof AtomicProcess)
else if(process instanceof CompositeProcess)
}
}
}
}
return valueMap;
}
}
}
}
}
if(p instanceof Process)
else
throw new RuntimeException("Cannot handle nested control constructs inside a sequence!");
}
}
}
}
}
}